home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / HENSA / MATHS / PLPLOT / PLPLOT.ZIP / doc / api.tex / node1_ct.html < prev    next >
LaTeX Document  |  1980-02-12  |  55.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
90% dexvert Hypertext Markup Language File (text/html) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file HTML document text default (weak)
99% file LaTeX document text default
98% file exported SGML document text default
97% file exported SGML document, ASCII text default
80% TrID HyperText Markup Language with DOCTYPE default
19% TrID HyperText Markup Language default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% gt2 HTML (Hyper Text Markup Language) Datei default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/html default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 54 68 | 65 20 50 4c 70 6c 6f 74 |ts of Th|e PLplot|
|000000b0| 20 41 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 50 72 | Applica|tions Pr|
|000000c0| 6f 67 72 61 6d 6d 69 6e | 67 20 49 6e 74 65 72 66 |ogrammin|g Interf|
|000000d0| 61 63 65 3c 2f 54 49 54 | 4c 45 3e 0a 0a 3c 4d 45 |ace</TIT|LE>..<ME|
|000000e0| 54 41 20 48 54 54 50 2d | 45 51 55 49 56 3d 22 43 |TA HTTP-|EQUIV="C|
|000000f0| 6f 6e 74 65 6e 74 2d 54 | 79 70 65 22 20 43 4f 4e |ontent-T|ype" CON|
|00000100| 54 45 4e 54 3d 22 74 65 | 78 74 2f 68 74 6d 6c 3b |TENT="te|xt/html;|
|00000110| 20 63 68 61 72 73 65 74 | 3d 75 74 66 2d 38 22 3e | charset|=utf-8">|
|00000120| 0a 3c 4d 45 54 41 20 4e | 41 4d 45 3d 22 76 69 65 |.<META N|AME="vie|
|00000130| 77 70 6f 72 74 22 20 43 | 4f 4e 54 45 4e 54 3d 22 |wport" C|ONTENT="|
|00000140| 77 69 64 74 68 3d 64 65 | 76 69 63 65 2d 77 69 64 |width=de|vice-wid|
|00000150| 74 68 2c 20 69 6e 69 74 | 69 61 6c 2d 73 63 61 6c |th, init|ial-scal|
|00000160| 65 3d 31 2e 30 22 3e 0a | 3c 4d 45 54 41 20 4e 41 |e=1.0">.|<META NA|
|00000170| 4d 45 3d 22 47 65 6e 65 | 72 61 74 6f 72 22 20 43 |ME="Gene|rator" C|
|00000180| 4f 4e 54 45 4e 54 3d 22 | 4c 61 54 65 58 32 48 54 |ONTENT="|LaTeX2HT|
|00000190| 4d 4c 20 76 32 30 32 32 | 22 3e 0a 0a 3c 4c 49 4e |ML v2022|">..<LIN|
|000001a0| 4b 20 52 45 4c 3d 22 53 | 54 59 4c 45 53 48 45 45 |K REL="S|TYLESHEE|
|000001b0| 54 22 20 48 52 45 46 3d | 22 61 70 69 2e 63 73 73 |T" HREF=|"api.css|
|000001c0| 22 3e 0a 0a 3c 4c 49 4e | 4b 20 52 45 4c 3d 22 70 |">..<LIN|K REL="p|
|000001d0| 72 65 76 69 6f 75 73 22 | 20 48 52 45 46 3d 22 61 |revious"| HREF="a|
|000001e0| 70 69 5f 6d 6e 2e 68 74 | 6d 6c 22 3e 0a 3c 4c 49 |pi_mn.ht|ml">.<LI|
|000001f0| 4e 4b 20 52 45 4c 3d 22 | 75 70 22 20 48 52 45 46 |NK REL="|up" HREF|
|00000200| 3d 22 61 70 69 5f 6d 6e | 2e 68 74 6d 6c 22 3e 0a |="api_mn|.html">.|
|00000210| 3c 2f 48 45 41 44 3e 0a | 20 0a 3c 42 4f 44 59 20 |</HEAD>.| .<BODY |
|00000220| 62 67 63 6f 6c 6f 72 3d | 22 23 66 66 66 66 66 66 |bgcolor=|"#ffffff|
|00000230| 22 20 74 65 78 74 3d 22 | 23 30 30 30 30 30 30 22 |" text="|#000000"|
|00000240| 20 6c 69 6e 6b 3d 22 23 | 39 39 34 34 45 45 22 20 | link="#|9944EE" |
|00000250| 76 6c 69 6e 6b 3d 22 23 | 30 30 30 30 66 66 22 20 |vlink="#|0000ff" |
|00000260| 61 6c 69 6e 6b 3d 22 23 | 30 30 66 66 30 30 22 3e |alink="#|00ff00">|
|00000270| 0a 0a 3c 48 31 3e 3c 41 | 20 49 44 3d 22 53 45 43 |..<H1><A| ID="SEC|
|00000280| 54 49 4f 4e 30 30 31 30 | 30 30 30 30 30 30 30 30 |TION0010|00000000|
|00000290| 30 30 30 30 30 30 30 30 | 22 3e 0a 54 68 65 20 50 |00000000|">.The P|
|000002a0| 4c 70 6c 6f 74 20 41 70 | 70 6c 69 63 61 74 69 6f |Lplot Ap|plicatio|
|000002b0| 6e 73 20 50 72 6f 67 72 | 61 6d 6d 69 6e 67 20 49 |ns Progr|amming I|
|000002c0| 6e 74 65 72 66 61 63 65 | 3c 2f 41 3e 0a 3c 2f 48 |nterface|</A>.</H|
|000002d0| 31 3e 0a 0a 3c 50 3e 0a | 44 6f 63 75 6d 65 6e 74 |1>..<P>.|Document|
|000002e0| 61 74 69 6f 6e 20 6f 66 | 20 65 61 63 68 20 50 4c |ation of| each PL|
|000002f0| 70 6c 6f 74 20 66 75 6e | 63 74 69 6f 6e 2e 0a 0a |plot fun|ction...|
|00000300| 3c 50 3e 0a 4d 61 6e 79 | 20 6e 65 77 20 6f 6e 65 |<P>.Many| new one|
|00000310| 73 20 61 72 65 20 73 74 | 69 6c 6c 20 6d 69 73 73 |s are st|ill miss|
|00000320| 69 6e 67 2e 0a 0a 3c 50 | 3e 0a 3c 42 52 3e 0a 3c |ing...<P|>.<BR>.<|
|00000330| 49 4d 47 0a 20 20 53 54 | 59 4c 45 3d 22 68 65 69 |IMG. ST|YLE="hei|
|00000340| 67 68 74 3a 20 31 39 36 | 2e 32 35 65 78 3b 20 76 |ght: 196|.25ex; v|
|00000350| 65 72 74 69 63 61 6c 2d | 61 6c 69 67 6e 3a 20 2d |ertical-|align: -|
|00000360| 30 2e 37 30 65 78 3b 20 | 22 20 53 52 43 3d 22 69 |0.70ex; |" SRC="i|
|00000370| 6d 67 31 2e 70 6e 67 22 | 0a 20 41 4c 54 3d 22 5c |mg1.png"|. ALT="\|
|00000380| 62 65 67 69 6e 7b 6d 65 | 6e 75 7d 0a 2a 20 70 6c |begin{me|nu}.* pl|
|00000390| 61 64 76 3a 3a 20 41 64 | 76 61 6e 63 65 20 74 68 |adv:: Ad|vance th|
|000003a0| 65 20 28 73 75 62 2d 29 | 70 61 67 65 0a 2a 20 70 |e (sub-)|page.* p|
|000003b0| 6c 62 69 6e 3a 3a 20 50 | 6c 6f 74 20 61 20 68 69 |lbin:: P|lot a hi|
|000003c0| 73 74 6f 67 72 61 6d 20 | 66 72 6f 6d 20 62 69 2e |stogram |from bi.|
|000003d0| 2e 2e 0a 2e 2e 2e 70 65 | 6e 20 77 69 64 74 68 0a |......pe|n width.|
|000003e0| 2a 20 70 6c 77 69 6e 64 | 3a 3a 20 53 70 65 63 69 |* plwind|:: Speci|
|000003f0| 66 79 20 77 6f 72 6c 64 | 20 63 6f 6f 72 64 69 6e |fy world| coordin|
|00000400| 61 74 65 73 20 6f 66 20 | 76 69 65 77 70 6f 72 74 |ates of |viewport|
|00000410| 20 62 6f 75 6e 64 61 72 | 69 65 73 0a 5c 65 6e 64 | boundar|ies.\end|
|00000420| 7b 6d 65 6e 75 7d 22 3e | 0a 3c 42 52 3e 0a 0a 3c |{menu}">|.<BR>..<|
|00000430| 50 3e 0a 26 23 31 38 34 | 3b 26 23 31 38 34 3b 45 |P>.&#184|;&#184;E|
|00000440| 26 23 78 33 32 37 3b 61 | 63 68 20 66 75 6e 63 74 |&#x327;a|ch funct|
|00000450| 69 6f 6e 20 69 73 20 65 | 6e 63 6c 6f 73 65 64 20 |ion is e|nclosed |
|00000460| 69 6e 20 61 20 62 6f 78 | 20 77 69 74 68 20 61 6e |in a box| with an|
|00000470| 20 69 6e 64 65 6e 64 65 | 64 20 64 65 73 63 72 69 | indende|d descri|
|00000480| 70 74 69 6f 6e 2e 20 20 | 54 68 65 0a 61 26 23 78 |ption. |The.a&#x|
|00000490| 33 32 37 3b 72 67 75 6d | 65 6e 74 73 20 61 72 65 |327;rgum|ents are|
|000004a0| 20 61 6c 73 6f 20 6f 66 | 66 73 65 74 20 77 69 74 | also of|fset wit|
|000004b0| 68 20 61 6e 20 69 6e 64 | 65 6e 74 65 64 20 65 78 |h an ind|ented ex|
|000004c0| 70 6c 61 6e 61 74 69 6f | 6e 2e 20 20 49 6e 20 6f |planatio|n. In o|
|000004d0| 72 64 65 72 20 74 6f 0a | 26 23 33 31 31 3b 65 65 |rder to.|&#311;ee|
|000004e0| 70 20 74 68 69 6e 67 73 | 20 61 73 20 63 6c 65 61 |p things| as clea|
|000004f0| 6e 20 61 73 20 70 6f 73 | 73 69 62 6c 65 2c 20 6e |n as pos|sible, n|
|00000500| 6f 20 73 65 63 74 69 6f | 6e 69 6e 67 20 63 6f 6d |o sectio|ning com|
|00000510| 6d 61 6e 64 73 20 61 72 | 65 20 75 73 65 64 2c 0a |mands ar|e used,.|
|00000520| 26 23 33 34 33 3b 61 74 | 68 65 72 2c 20 74 68 65 |&#343;at|her, the|
|00000530| 20 73 65 63 74 69 6f 6e | 73 20 61 72 65 20 61 64 | section|s are ad|
|00000540| 64 65 64 20 74 6f 20 74 | 68 65 20 74 61 62 6c 65 |ded to t|he table|
|00000550| 20 6f 66 20 63 6f 6e 74 | 65 6e 74 73 20 22 62 79 | of cont|ents "by|
|00000560| 20 68 61 6e 64 22 2e 0a | 26 23 33 35 30 3b 69 6e | hand"..|&#350;in|
|00000570| 63 65 20 6c 61 74 65 78 | 69 6e 66 6f 2e 73 74 79 |ce latex|info.sty|
|00000580| 20 72 65 71 75 69 72 65 | 73 20 61 20 73 65 63 74 | require|s a sect|
|00000590| 69 6f 6e 69 6e 67 20 63 | 6f 6d 6d 61 6e 64 20 74 |ioning c|ommand t|
|000005a0| 6f 20 62 65 20 75 73 65 | 64 20 74 6f 20 67 65 74 |o be use|d to get|
|000005b0| 0a 26 23 33 35 35 3b 68 | 65 20 4c 61 74 65 78 20 |.&#355;h|e Latex |
|000005c0| 63 72 6f 73 73 20 72 65 | 66 65 72 65 6e 63 65 73 |cross re|ferences|
|000005d0| 20 72 69 67 68 74 2c 20 | 49 20 61 6c 73 6f 20 70 | right, |I also p|
|000005e0| 75 74 20 74 68 65 73 65 | 20 69 6e 20 62 79 20 68 |ut these| in by h|
|000005f0| 61 6e 64 2e 0a 26 23 31 | 38 34 3b 26 23 31 38 34 |and..&#1|84;&#184|
|00000600| 3b 0a 3c 50 3e 0a 70 6c | 61 64 76 2c 20 70 6c 62 |;.<P>.pl|adv, plb|
|00000610| 69 6e 2c 20 41 50 49 2c | 20 41 50 49 0a 0a 3c 50 |in, API,| API..<P|
|00000620| 3e 0a 70 6c 61 64 76 28 | 73 75 62 29 0a 3c 41 20 |>.pladv(|sub).<A |
|00000630| 49 44 3d 22 70 6c 61 64 | 76 22 3e 3c 2f 41 3e 70 |ID="plad|v"></A>p|
|00000640| 6c 61 64 76 0a 0a 3c 50 | 3e 0a 41 64 76 61 6e 63 |ladv..<P|>.Advanc|
|00000650| 65 73 20 74 6f 20 74 68 | 65 20 6e 65 78 74 20 73 |es to th|e next s|
|00000660| 75 62 70 61 67 65 20 69 | 66 20 73 75 62 3d 30 2c |ubpage i|f sub=0,|
|00000670| 20 70 65 72 66 6f 72 6d | 69 6e 67 20 61 20 70 61 | perform|ing a pa|
|00000680| 67 65 0a 61 64 76 61 6e | 63 65 20 69 66 20 74 68 |ge.advan|ce if th|
|00000690| 65 72 65 20 61 72 65 20 | 6e 6f 20 72 65 6d 61 69 |ere are |no remai|
|000006a0| 6e 69 6e 67 20 73 75 62 | 70 61 67 65 73 20 6f 6e |ning sub|pages on|
|000006b0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 70 61 67 | the cur|rent pag|
|000006c0| 65 2e 20 20 49 66 0a 73 | 75 62 77 69 6e 64 6f 77 |e. If.s|ubwindow|
|000006d0| 69 6e 67 20 69 73 6e 27 | 74 20 62 65 69 6e 67 20 |ing isn'|t being |
|000006e0| 75 73 65 64 2c 20 70 6c | 61 64 76 28 30 29 20 77 |used, pl|adv(0) w|
|000006f0| 69 6c 6c 20 61 6c 77 61 | 79 73 20 61 64 76 61 6e |ill alwa|ys advan|
|00000700| 63 65 20 74 68 65 0a 70 | 61 67 65 2e 20 20 49 66 |ce the.p|age. If|
|00000710| 20 73 75 62 26 67 74 3b | 30 2c 20 50 4c 70 6c 6f | sub&gt;|0, PLplo|
|00000720| 74 20 73 77 69 74 63 68 | 65 73 20 74 6f 20 74 68 |t switch|es to th|
|00000730| 65 20 73 70 65 63 69 66 | 69 65 64 20 73 75 62 70 |e specif|ied subp|
|00000740| 61 67 65 2e 20 20 4e 6f | 74 65 0a 74 68 61 74 20 |age. No|te.that |
|00000750| 74 68 69 73 20 61 6c 6c | 6f 77 73 20 79 6f 75 20 |this all|ows you |
|00000760| 74 6f 20 6f 76 65 72 77 | 72 69 74 65 20 61 20 70 |to overw|rite a p|
|00000770| 6c 6f 74 20 6f 6e 20 74 | 68 65 20 73 70 65 63 69 |lot on t|he speci|
|00000780| 66 69 65 64 20 73 75 62 | 70 61 67 65 3b 20 69 66 |fied sub|page; if|
|00000790| 20 74 68 69 73 0a 69 73 | 20 6e 6f 74 20 77 68 61 | this.is| not wha|
|000007a0| 74 20 79 6f 75 20 69 6e | 74 65 6e 64 65 64 2c 20 |t you in|tended, |
|000007b0| 75 73 65 20 70 6c 63 6c | 72 20 66 6f 6c 6c 6f 77 |use plcl|r follow|
|000007c0| 65 64 20 62 79 20 70 6c | 70 61 67 65 20 74 6f 0a |ed by pl|page to.|
|000007d0| 66 69 72 73 74 20 61 64 | 76 61 6e 63 65 20 74 68 |first ad|vance th|
|000007e0| 65 20 70 61 67 65 2e 20 | 20 54 68 69 73 20 72 6f |e page. | This ro|
|000007f0| 75 74 69 6e 65 20 69 73 | 20 63 61 6c 6c 65 64 20 |utine is| called |
|00000800| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 20 28 77 |automati|cally (w|
|00000810| 69 74 68 0a 73 75 62 3d | 30 29 20 62 79 20 70 6c |ith.sub=|0) by pl|
|00000820| 65 6e 76 2c 20 62 75 74 | 20 69 66 20 70 6c 65 6e |env, but| if plen|
|00000830| 76 20 69 73 20 6e 6f 74 | 20 75 73 65 64 2c 0a 70 |v is not| used,.p|
|00000840| 6c 61 64 76 20 6d 75 73 | 74 20 62 65 20 63 61 6c |ladv mus|t be cal|
|00000850| 6c 65 64 20 61 66 74 65 | 72 20 69 6e 69 74 69 61 |led afte|r initia|
|00000860| 6c 69 7a 69 6e 67 20 50 | 4c 70 6c 6f 74 20 62 75 |lizing P|Lplot bu|
|00000870| 74 20 62 65 66 6f 72 65 | 20 64 65 66 69 6e 69 6e |t before| definin|
|00000880| 67 0a 74 68 65 20 76 69 | 65 77 70 6f 72 74 2e 0a |g.the vi|ewport..|
|00000890| 0a 3c 50 3e 0a 73 75 62 | 20 28 50 4c 49 4e 54 2c |.<P>.sub| (PLINT,|
|000008a0| 20 69 6e 70 75 74 29 53 | 70 65 63 69 66 69 65 73 | input)S|pecifies|
|000008b0| 20 74 68 65 20 73 75 62 | 70 61 67 65 20 6e 75 6d | the sub|page num|
|000008c0| 62 65 72 20 28 73 74 61 | 72 74 69 6e 67 20 66 72 |ber (sta|rting fr|
|000008d0| 6f 6d 0a 31 20 69 6e 20 | 74 68 65 20 74 6f 70 20 |om.1 in |the top |
|000008e0| 6c 65 66 74 20 63 6f 72 | 6e 65 72 20 61 6e 64 20 |left cor|ner and |
|000008f0| 69 6e 63 72 65 61 73 69 | 6e 67 20 61 6c 6f 6e 67 |increasi|ng along|
|00000900| 20 74 68 65 20 72 6f 77 | 73 29 20 74 6f 20 77 68 | the row|s) to wh|
|00000910| 69 63 68 20 74 6f 20 61 | 64 76 61 6e 63 65 2e 0a |ich to a|dvance..|
|00000920| 53 65 74 20 74 6f 20 7a | 65 72 6f 20 74 6f 20 61 |Set to z|ero to a|
|00000930| 64 76 61 6e 63 65 20 74 | 6f 20 74 68 65 20 6e 65 |dvance t|o the ne|
|00000940| 78 74 20 73 75 62 70 61 | 67 65 2e 0a 0a 3c 50 3e |xt subpa|ge...<P>|
|00000950| 0a 26 23 31 38 34 3b 0a | 3c 50 3e 0a 70 6c 62 69 |.&#184;.|<P>.plbi|
|00000960| 6e 2c 20 70 6c 62 6f 78 | 2c 20 70 6c 61 64 76 2c |n, plbox|, pladv,|
|00000970| 20 41 50 49 0a 0a 3c 50 | 3e 0a 70 6c 62 69 6e 28 | API..<P|>.plbin(|
|00000980| 6e 62 69 6e 2c 20 78 2c | 20 79 2c 20 63 65 6e 29 |nbin, x,| y, cen)|
|00000990| 0a 3c 41 20 49 44 3d 22 | 70 6c 62 69 6e 22 3e 3c |.<A ID="|plbin"><|
|000009a0| 2f 41 3e 70 6c 62 69 6e | 0a 0a 3c 50 3e 0a 50 6c |/A>plbin|..<P>.Pl|
|000009b0| 6f 74 73 20 61 20 68 69 | 73 74 6f 67 72 61 6d 20 |ots a hi|stogram |
|000009c0| 63 6f 6e 73 69 73 74 69 | 6e 67 20 6f 66 20 6e 20 |consisti|ng of n |
|000009d0| 62 69 6e 73 2e 20 20 54 | 68 65 20 76 61 6c 75 65 |bins. T|he value|
|000009e0| 20 61 73 73 6f 63 69 61 | 74 65 64 0a 77 69 74 68 | associa|ted.with|
|000009f0| 20 74 68 65 20 69 27 74 | 68 20 62 69 6e 20 69 73 | the i't|h bin is|
|00000a00| 20 70 6c 61 63 65 64 20 | 69 6e 20 78 5b 69 5d 2c | placed |in x[i],|
|00000a10| 20 61 6e 64 20 74 68 65 | 20 6e 75 6d 62 65 72 20 | and the| number |
|00000a20| 6f 66 20 70 6f 69 6e 74 | 73 20 69 6e 0a 74 68 65 |of point|s in.the|
|00000a30| 20 62 69 6e 20 69 73 20 | 70 6c 61 63 65 64 20 69 | bin is |placed i|
|00000a40| 6e 20 79 5b 69 5d 2e 20 | 20 46 6f 72 20 70 72 6f |n y[i]. | For pro|
|00000a50| 70 65 72 20 6f 70 65 72 | 61 74 69 6f 6e 2c 20 74 |per oper|ation, t|
|00000a60| 68 65 20 76 61 6c 75 65 | 73 20 69 6e 0a 78 5b 69 |he value|s in.x[i|
|00000a70| 5d 20 6d 75 73 74 20 66 | 6f 72 6d 20 61 20 73 74 |] must f|orm a st|
|00000a80| 72 69 63 74 6c 79 20 69 | 6e 63 72 65 61 73 69 6e |rictly i|ncreasin|
|00000a90| 67 20 73 65 71 75 65 6e | 63 65 2e 20 20 49 66 20 |g sequen|ce. If |
|00000aa0| 63 65 6e 74 65 72 20 69 | 73 0a 66 61 6c 73 65 2c |center i|s.false,|
|00000ab0| 20 20 78 5b 69 5d 20 69 | 73 20 74 68 65 20 6c 65 | x[i] i|s the le|
|00000ac0| 66 74 2d 68 61 6e 64 20 | 65 64 67 65 20 6f 66 20 |ft-hand |edge of |
|00000ad0| 74 68 65 20 69 27 74 68 | 20 62 69 6e 2c 20 61 6e |the i'th| bin, an|
|00000ae0| 64 20 69 66 0a 63 65 6e | 74 65 72 20 69 73 20 74 |d if.cen|ter is t|
|00000af0| 72 75 65 2c 20 74 68 65 | 20 62 69 6e 20 62 6f 75 |rue, the| bin bou|
|00000b00| 6e 64 61 72 69 65 73 20 | 61 72 65 20 70 6c 61 63 |ndaries |are plac|
|00000b10| 65 64 20 6d 69 64 77 61 | 79 20 62 65 74 77 65 65 |ed midwa|y betwee|
|00000b20| 6e 20 74 68 65 0a 76 61 | 6c 75 65 73 20 69 6e 20 |n the.va|lues in |
|00000b30| 74 68 65 20 78 20 61 72 | 72 61 79 2e 20 20 41 6c |the x ar|ray. Al|
|00000b40| 73 6f 20 73 65 65 20 70 | 6c 68 69 73 74 20 66 6f |so see p|lhist fo|
|00000b50| 72 20 64 72 61 77 69 6e | 67 0a 68 69 73 74 6f 67 |r drawin|g.histog|
|00000b60| 72 61 6d 73 20 66 72 6f | 6d 20 75 6e 62 69 6e 6e |rams fro|m unbinn|
|00000b70| 65 64 20 64 61 74 61 2e | 0a 0a 3c 50 3e 0a 6e 62 |ed data.|..<P>.nb|
|00000b80| 69 6e 20 28 50 4c 49 4e | 54 2c 20 69 6e 70 75 74 |in (PLIN|T, input|
|00000b90| 29 4e 75 6d 62 65 72 20 | 6f 66 20 62 69 6e 73 20 |)Number |of bins |
|00000ba0| 28 69 2e 65 2e 2c 20 6e | 75 6d 62 65 72 20 6f 66 |(i.e., n|umber of|
|00000bb0| 20 76 61 6c 75 65 73 20 | 69 6e 0a 3c 49 3e 78 3c | values |in.<I>x<|
|00000bc0| 2f 49 3e 20 61 6e 64 20 | 3c 49 3e 79 3c 2f 49 3e |/I> and |<I>y</I>|
|00000bd0| 20 61 72 72 61 79 73 2e | 29 0a 0a 3c 50 3e 0a 78 | arrays.|)..<P>.x|
|00000be0| 20 28 50 4c 46 4c 54 20 | 2a 2c 20 69 6e 70 75 74 | (PLFLT |*, input|
|00000bf0| 29 50 6f 69 6e 74 65 72 | 20 74 6f 20 61 72 72 61 |)Pointer| to arra|
|00000c00| 79 20 63 6f 6e 74 61 69 | 6e 69 6e 67 20 76 61 6c |y contai|ning val|
|00000c10| 75 65 73 0a 61 73 73 6f | 63 69 61 74 65 64 20 77 |ues.asso|ciated w|
|00000c20| 69 74 68 20 62 69 6e 73 | 2e 20 20 54 68 65 73 65 |ith bins|. These|
|00000c30| 20 6d 75 73 74 20 66 6f | 72 6d 20 61 20 73 74 72 | must fo|rm a str|
|00000c40| 69 63 74 6c 79 20 69 6e | 63 72 65 61 73 69 6e 67 |ictly in|creasing|
|00000c50| 20 73 65 71 75 65 6e 63 | 65 2e 0a 0a 3c 50 3e 0a | sequenc|e...<P>.|
|00000c60| 79 20 28 50 4c 46 4c 54 | 20 2a 2c 20 69 6e 70 75 |y (PLFLT| *, inpu|
|00000c70| 74 29 50 6f 69 6e 74 65 | 72 20 74 6f 20 61 72 72 |t)Pointe|r to arr|
|00000c80| 61 79 20 63 6f 6e 74 61 | 69 6e 69 6e 67 20 6e 75 |ay conta|ining nu|
|00000c90| 6d 62 65 72 20 6f 66 0a | 70 6f 69 6e 74 73 20 69 |mber of.|points i|
|00000ca0| 6e 20 62 69 6e 2e 20 20 | 54 68 69 73 20 69 73 20 |n bin. |This is |
|00000cb0| 61 20 50 4c 46 4c 54 20 | 28 69 6e 73 74 65 61 64 |a PLFLT |(instead|
|00000cc0| 20 6f 66 20 50 4c 49 4e | 54 29 20 61 72 72 61 79 | of PLIN|T) array|
|00000cd0| 20 73 6f 20 61 73 20 74 | 6f 20 61 6c 6c 6f 77 0a | so as t|o allow.|
|00000ce0| 68 69 73 74 6f 67 72 61 | 6d 73 20 6f 66 20 70 72 |histogra|ms of pr|
|00000cf0| 6f 62 61 62 69 6c 69 74 | 69 65 73 2c 20 65 74 63 |obabilit|ies, etc|
|00000d00| 2e 0a 0a 3c 50 3e 0a 63 | 65 6e 20 28 50 4c 49 4e |...<P>.c|en (PLIN|
|00000d10| 54 2c 20 69 6e 70 75 74 | 29 49 6e 64 69 63 61 74 |T, input|)Indicat|
|00000d20| 65 73 20 77 68 65 74 68 | 65 72 20 74 68 65 20 76 |es wheth|er the v|
|00000d30| 61 6c 75 65 73 20 69 6e | 20 78 0a 72 65 70 72 65 |alues in| x.repre|
|00000d40| 73 65 6e 74 20 74 68 65 | 20 6c 6f 77 65 72 20 62 |sent the| lower b|
|00000d50| 69 6e 20 62 6f 75 6e 64 | 61 72 69 65 73 20 28 63 |in bound|aries (c|
|00000d60| 65 6e 3d 30 29 20 6f 72 | 20 77 68 65 74 68 65 72 |en=0) or| whether|
|00000d70| 20 74 68 65 20 62 69 6e | 0a 62 6f 75 6e 64 61 72 | the bin|.boundar|
|00000d80| 69 65 73 20 61 72 65 20 | 74 6f 20 62 65 20 6d 69 |ies are |to be mi|
|00000d90| 64 77 61 79 20 62 65 74 | 77 65 65 6e 20 74 68 65 |dway bet|ween the|
|00000da0| 20 78 20 76 61 6c 75 65 | 73 20 28 63 65 6e 3d 31 | x value|s (cen=1|
|00000db0| 29 2e 20 20 49 66 0a 74 | 68 65 20 76 61 6c 75 65 |). If.t|he value|
|00000dc0| 73 20 69 6e 20 78 20 61 | 72 65 20 65 71 75 61 6c |s in x a|re equal|
|00000dd0| 6c 79 20 73 70 61 63 65 | 64 20 61 6e 64 20 63 65 |ly space|d and ce|
|00000de0| 6e 3d 31 2c 20 74 68 65 | 20 76 61 6c 75 65 73 20 |n=1, the| values |
|00000df0| 69 6e 0a 78 20 61 72 65 | 20 74 68 65 20 63 65 6e |in.x are| the cen|
|00000e00| 74 65 72 20 76 61 6c 75 | 65 73 20 6f 66 20 74 68 |ter valu|es of th|
|00000e10| 65 20 62 69 6e 73 2e 0a | 0a 3c 50 3e 0a 26 23 31 |e bins..|.<P>.&#1|
|00000e20| 38 34 3b 0a 3c 50 3e 0a | 70 6c 62 6f 78 2c 20 70 |84;.<P>.|plbox, p|
|00000e30| 6c 62 6f 78 33 2c 20 70 | 6c 62 69 6e 2c 20 41 50 |lbox3, p|lbin, AP|
|00000e40| 49 0a 0a 3c 50 3e 0a 70 | 6c 62 6f 78 28 78 6f 70 |I..<P>.p|lbox(xop|
|00000e50| 74 2c 20 78 74 69 63 6b | 2c 20 6e 78 73 75 62 2c |t, xtick|, nxsub,|
|00000e60| 20 79 6f 70 74 2c 20 79 | 74 69 63 6b 2c 20 6e 79 | yopt, y|tick, ny|
|00000e70| 73 75 62 29 0a 3c 41 20 | 49 44 3d 22 70 6c 62 6f |sub).<A |ID="plbo|
|00000e80| 78 22 3e 3c 2f 41 3e 70 | 6c 62 6f 78 0a 0a 3c 50 |x"></A>p|lbox..<P|
|00000e90| 3e 0a 44 72 61 77 73 20 | 61 20 62 6f 78 20 61 72 |>.Draws |a box ar|
|00000ea0| 6f 75 6e 64 20 74 68 65 | 20 63 75 72 72 65 6e 74 |ound the| current|
|00000eb0| 6c 79 20 64 65 66 69 6e | 65 64 20 76 69 65 77 70 |ly defin|ed viewp|
|00000ec0| 6f 72 74 2c 20 61 6e 64 | 20 6c 61 62 65 6c 73 20 |ort, and| labels |
|00000ed0| 69 74 0a 77 69 74 68 20 | 77 6f 72 6c 64 20 63 6f |it.with |world co|
|00000ee0| 6f 72 64 69 6e 61 74 65 | 20 76 61 6c 75 65 73 20 |ordinate| values |
|00000ef0| 61 70 70 72 6f 70 72 69 | 61 74 65 20 74 6f 20 74 |appropri|ate to t|
|00000f00| 68 65 20 77 69 6e 64 6f | 77 2e 20 20 54 68 75 73 |he windo|w. Thus|
|00000f10| 20 70 6c 62 6f 78 0a 73 | 68 6f 75 6c 64 20 6f 6e | plbox.s|hould on|
|00000f20| 6c 79 20 62 65 20 63 61 | 6c 6c 65 64 20 61 66 74 |ly be ca|lled aft|
|00000f30| 65 72 20 64 65 66 69 6e | 69 6e 67 20 62 6f 74 68 |er defin|ing both|
|00000f40| 20 76 69 65 77 70 6f 72 | 74 20 61 6e 64 20 77 69 | viewpor|t and wi|
|00000f50| 6e 64 6f 77 2e 20 20 54 | 68 65 0a 63 68 61 72 61 |ndow. T|he.chara|
|00000f60| 63 74 65 72 20 73 74 72 | 69 6e 67 73 20 78 6f 70 |cter str|ings xop|
|00000f70| 74 20 61 6e 64 20 79 6f | 70 74 20 73 70 65 63 69 |t and yo|pt speci|
|00000f80| 66 79 20 68 6f 77 20 74 | 68 65 20 62 6f 78 20 73 |fy how t|he box s|
|00000f90| 68 6f 75 6c 64 20 62 65 | 0a 64 72 61 77 6e 20 61 |hould be|.drawn a|
|00000fa0| 73 20 64 65 73 63 72 69 | 62 65 64 20 62 65 6c 6f |s descri|bed belo|
|00000fb0| 77 2e 20 20 49 66 20 74 | 69 63 6b 73 20 61 6e 64 |w. If t|icks and|
|00000fc0| 2f 6f 72 20 73 75 62 74 | 69 63 6b 73 20 61 72 65 |/or subt|icks are|
|00000fd0| 20 74 6f 20 62 65 20 64 | 72 61 77 6e 20 66 6f 72 | to be d|rawn for|
|00000fe0| 20 61 0a 70 61 72 74 69 | 63 75 6c 61 72 20 61 78 | a.parti|cular ax|
|00000ff0| 69 73 2c 20 74 68 65 20 | 74 69 63 6b 20 69 6e 74 |is, the |tick int|
|00001000| 65 72 76 61 6c 73 20 61 | 6e 64 20 6e 75 6d 62 65 |ervals a|nd numbe|
|00001010| 72 20 6f 66 20 73 75 62 | 69 6e 74 65 72 76 61 6c |r of sub|interval|
|00001020| 73 20 6d 61 79 20 62 65 | 0a 73 70 65 63 69 66 69 |s may be|.specifi|
|00001030| 65 64 20 65 78 70 6c 69 | 63 69 74 6c 79 2c 20 6f |ed expli|citly, o|
|00001040| 72 20 74 68 65 79 20 6d | 61 79 20 62 65 20 64 65 |r they m|ay be de|
|00001050| 66 61 75 6c 74 65 64 20 | 62 79 20 73 65 74 74 69 |faulted |by setti|
|00001060| 6e 67 20 74 68 65 20 61 | 70 70 72 6f 70 72 69 61 |ng the a|ppropria|
|00001070| 74 65 0a 61 72 67 75 6d | 65 6e 74 73 20 74 6f 20 |te.argum|ents to |
|00001080| 7a 65 72 6f 2e 0a 0a 3c | 50 3e 0a 78 6f 70 74 20 |zero...<|P>.xopt |
|00001090| 28 63 68 61 72 20 2a 2c | 20 69 6e 70 75 74 29 50 |(char *,| input)P|
|000010a0| 6f 69 6e 74 65 72 20 74 | 6f 20 63 68 61 72 61 63 |ointer t|o charac|
|000010b0| 74 65 72 20 73 74 72 69 | 6e 67 20 73 70 65 63 69 |ter stri|ng speci|
|000010c0| 66 79 69 6e 67 0a 6f 70 | 74 69 6f 6e 73 20 66 6f |fying.op|tions fo|
|000010d0| 72 20 68 6f 72 69 7a 6f | 6e 74 61 6c 20 61 78 69 |r horizo|ntal axi|
|000010e0| 73 2e 20 20 54 68 65 20 | 73 74 72 69 6e 67 20 63 |s. The |string c|
|000010f0| 61 6e 20 69 6e 63 6c 75 | 64 65 20 61 6e 79 20 63 |an inclu|de any c|
|00001100| 6f 6d 62 69 6e 61 74 69 | 6f 6e 20 6f 66 20 74 68 |ombinati|on of th|
|00001110| 65 0a 66 6f 6c 6c 6f 77 | 69 6e 67 20 6c 65 74 74 |e.follow|ing lett|
|00001120| 65 72 73 20 28 75 70 70 | 65 72 20 6f 72 20 6c 6f |ers (upp|er or lo|
|00001130| 77 65 72 20 63 61 73 65 | 29 20 69 6e 20 61 6e 79 |wer case|) in any|
|00001140| 20 6f 72 64 65 72 3a 0a | 0a 3c 50 3e 0a 0a 3c 55 | order:.|.<P>..<U|
|00001150| 4c 3e 0a 3c 4c 49 3e 61 | 3a 20 44 72 61 77 73 20 |L>.<LI>a|: Draws |
|00001160| 61 78 69 73 2c 20 58 2d | 61 78 69 73 20 69 73 20 |axis, X-|axis is |
|00001170| 68 6f 72 69 7a 6f 6e 74 | 61 6c 20 6c 69 6e 65 20 |horizont|al line |
|00001180| 79 3d 30 2c 20 61 6e 64 | 20 59 2d 61 78 69 73 0a |y=0, and| Y-axis.|
|00001190| 69 73 20 76 65 72 74 69 | 63 61 6c 20 6c 69 6e 65 |is verti|cal line|
|000011a0| 20 78 3d 30 2e 0a 0a 3c | 50 3e 0a 3c 2f 4c 49 3e | x=0...<|P>.</LI>|
|000011b0| 0a 3c 4c 49 3e 62 3a 20 | 44 72 61 77 73 20 62 6f |.<LI>b: |Draws bo|
|000011c0| 74 74 6f 6d 20 28 58 29 | 20 6f 72 20 6c 65 66 74 |ttom (X)| or left|
|000011d0| 20 28 59 29 20 65 64 67 | 65 20 6f 66 20 66 72 61 | (Y) edg|e of fra|
|000011e0| 6d 65 2e 0a 0a 3c 50 3e | 0a 3c 2f 4c 49 3e 0a 3c |me...<P>|.</LI>.<|
|000011f0| 4c 49 3e 63 3a 20 44 72 | 61 77 73 20 74 6f 70 20 |LI>c: Dr|aws top |
|00001200| 28 58 29 20 6f 72 20 72 | 69 67 68 74 20 28 59 29 |(X) or r|ight (Y)|
|00001210| 20 65 64 67 65 20 6f 66 | 20 66 72 61 6d 65 2e 0a | edge of| frame..|
|00001220| 0a 3c 50 3e 0a 3c 2f 4c | 49 3e 0a 3c 4c 49 3e 67 |.<P>.</L|I>.<LI>g|
|00001230| 3a 20 44 72 61 77 73 20 | 61 20 67 72 69 64 20 61 |: Draws |a grid a|
|00001240| 74 20 74 68 65 20 6d 61 | 6a 6f 72 20 74 69 63 6b |t the ma|jor tick|
|00001250| 20 69 6e 74 65 72 76 61 | 6c 2e 0a 0a 3c 50 3e 0a | interva|l...<P>.|
|00001260| 3c 2f 4c 49 3e 0a 3c 4c | 49 3e 69 3a 20 49 6e 76 |</LI>.<L|I>i: Inv|
|00001270| 65 72 74 73 20 74 69 63 | 6b 20 6d 61 72 6b 73 2c |erts tic|k marks,|
|00001280| 20 73 6f 20 74 68 65 79 | 20 61 72 65 20 64 72 61 | so they| are dra|
|00001290| 77 6e 20 6f 75 74 77 61 | 72 64 73 2c 20 72 61 74 |wn outwa|rds, rat|
|000012a0| 68 65 72 20 74 68 61 6e | 0a 69 6e 77 61 72 64 73 |her than|.inwards|
|000012b0| 2e 0a 0a 3c 50 3e 0a 3c | 2f 4c 49 3e 0a 3c 4c 49 |...<P>.<|/LI>.<LI|
|000012c0| 3e 6c 3a 20 4c 61 62 65 | 6c 73 20 61 78 69 73 20 |>l: Labe|ls axis |
|000012d0| 6c 6f 67 61 72 69 74 68 | 6d 69 63 61 6c 6c 79 2e |logarith|mically.|
|000012e0| 20 20 54 68 69 73 20 6f | 6e 6c 79 20 61 66 66 65 | This o|nly affe|
|000012f0| 63 74 73 20 74 68 65 20 | 6c 61 62 65 6c 73 2c 0a |cts the |labels,.|
|00001300| 6e 6f 74 20 74 68 65 20 | 64 61 74 61 2c 20 61 6e |not the |data, an|
|00001310| 64 20 73 6f 20 69 74 20 | 69 73 20 6e 65 63 65 73 |d so it |is neces|
|00001320| 73 61 72 79 20 74 6f 20 | 63 6f 6d 70 75 74 65 20 |sary to |compute |
|00001330| 74 68 65 20 6c 6f 67 61 | 72 69 74 68 6d 73 20 6f |the loga|rithms o|
|00001340| 66 20 64 61 74 61 0a 70 | 6f 69 6e 74 73 20 62 65 |f data.p|oints be|
|00001350| 66 6f 72 65 20 70 61 73 | 73 69 6e 67 20 74 68 65 |fore pas|sing the|
|00001360| 6d 20 74 6f 20 61 6e 79 | 20 6f 66 20 74 68 65 20 |m to any| of the |
|00001370| 64 72 61 77 69 6e 67 20 | 72 6f 75 74 69 6e 65 73 |drawing |routines|
|00001380| 2e 0a 0a 3c 50 3e 0a 3c | 2f 4c 49 3e 0a 3c 4c 49 |...<P>.<|/LI>.<LI|
|00001390| 3e 6d 3a 20 57 72 69 74 | 65 73 20 6e 75 6d 65 72 |>m: Writ|es numer|
|000013a0| 69 63 20 6c 61 62 65 6c | 73 20 61 74 20 6d 61 6a |ic label|s at maj|
|000013b0| 6f 72 20 74 69 63 6b 20 | 69 6e 74 65 72 76 61 6c |or tick |interval|
|000013c0| 73 20 69 6e 20 74 68 65 | 0a 75 6e 63 6f 6e 76 65 |s in the|.unconve|
|000013d0| 6e 74 69 6f 6e 61 6c 20 | 6c 6f 63 61 74 69 6f 6e |ntional |location|
|000013e0| 20 28 61 62 6f 76 65 20 | 62 6f 78 20 66 6f 72 20 | (above |box for |
|000013f0| 58 2c 20 72 69 67 68 74 | 20 6f 66 20 62 6f 78 20 |X, right| of box |
|00001400| 66 6f 72 20 59 29 2e 0a | 0a 3c 50 3e 0a 3c 2f 4c |for Y)..|.<P>.</L|
|00001410| 49 3e 0a 3c 4c 49 3e 6e | 3a 20 57 72 69 74 65 73 |I>.<LI>n|: Writes|
|00001420| 20 6e 75 6d 65 72 69 63 | 20 6c 61 62 65 6c 73 20 | numeric| labels |
|00001430| 61 74 20 6d 61 6a 6f 72 | 20 74 69 63 6b 20 69 6e |at major| tick in|
|00001440| 74 65 72 76 61 6c 73 20 | 69 6e 20 74 68 65 0a 63 |tervals |in the.c|
|00001450| 6f 6e 76 65 6e 74 69 6f | 6e 61 6c 20 6c 6f 63 61 |onventio|nal loca|
|00001460| 74 69 6f 6e 20 28 62 65 | 6c 6f 77 20 62 6f 78 20 |tion (be|low box |
|00001470| 66 6f 72 20 58 2c 20 6c | 65 66 74 20 6f 66 20 62 |for X, l|eft of b|
|00001480| 6f 78 20 66 6f 72 20 59 | 29 2e 0a 0a 3c 50 3e 0a |ox for Y|)...<P>.|
|00001490| 3c 2f 4c 49 3e 0a 3c 4c | 49 3e 73 3a 20 45 6e 61 |</LI>.<L|I>s: Ena|
|000014a0| 62 6c 65 73 20 73 75 62 | 74 69 63 6b 73 20 62 65 |bles sub|ticks be|
|000014b0| 74 77 65 65 6e 20 6d 61 | 6a 6f 72 20 74 69 63 6b |tween ma|jor tick|
|000014c0| 73 2c 20 6f 6e 6c 79 20 | 76 61 6c 69 64 20 69 66 |s, only |valid if|
|000014d0| 20 74 20 69 73 0a 61 6c | 73 6f 20 73 70 65 63 69 | t is.al|so speci|
|000014e0| 66 69 65 64 2e 0a 0a 3c | 50 3e 0a 3c 2f 4c 49 3e |fied...<|P>.</LI>|
|000014f0| 0a 3c 4c 49 3e 74 3a 20 | 44 72 61 77 73 20 6d 61 |.<LI>t: |Draws ma|
|00001500| 6a 6f 72 20 74 69 63 6b | 73 2e 0a 3c 2f 4c 49 3e |jor tick|s..</LI>|
|00001510| 0a 3c 2f 55 4c 3e 0a 0a | 3c 50 3e 0a 78 74 69 63 |.</UL>..|<P>.xtic|
|00001520| 6b 20 28 50 4c 46 4c 54 | 2c 20 69 6e 70 75 74 29 |k (PLFLT|, input)|
|00001530| 57 6f 72 6c 64 20 63 6f | 6f 72 64 69 6e 61 74 65 |World co|ordinate|
|00001540| 20 69 6e 74 65 72 76 61 | 6c 20 62 65 74 77 65 65 | interva|l betwee|
|00001550| 6e 20 6d 61 6a 6f 72 0a | 74 69 63 6b 73 20 6f 6e |n major.|ticks on|
|00001560| 20 74 68 65 20 78 20 61 | 78 69 73 2e 20 20 49 66 | the x a|xis. If|
|00001570| 20 69 74 20 69 73 20 73 | 65 74 20 74 6f 20 7a 65 | it is s|et to ze|
|00001580| 72 6f 2c 20 50 4c 70 6c | 6f 74 20 61 75 74 6f 6d |ro, PLpl|ot autom|
|00001590| 61 74 69 63 61 6c 6c 79 | 20 67 65 6e 65 72 61 74 |atically| generat|
|000015a0| 65 73 20 61 0a 73 75 69 | 74 61 62 6c 65 20 74 69 |es a.sui|table ti|
|000015b0| 63 6b 20 69 6e 74 65 72 | 76 61 6c 2e 0a 0a 3c 50 |ck inter|val...<P|
|000015c0| 3e 0a 6e 78 73 75 62 20 | 28 50 4c 49 4e 54 2c 20 |>.nxsub |(PLINT, |
|000015d0| 69 6e 70 75 74 29 4e 75 | 6d 62 65 72 20 6f 66 20 |input)Nu|mber of |
|000015e0| 73 75 62 69 6e 74 65 72 | 76 61 6c 73 20 62 65 74 |subinter|vals bet|
|000015f0| 77 65 65 6e 20 6d 61 6a | 6f 72 0a 78 20 61 78 69 |ween maj|or.x axi|
|00001600| 73 20 74 69 63 6b 73 20 | 66 6f 72 20 6d 69 6e 6f |s ticks |for mino|
|00001610| 72 20 74 69 63 6b 73 2e | 20 20 49 66 20 69 74 20 |r ticks.| If it |
|00001620| 69 73 20 73 65 74 20 74 | 6f 20 7a 65 72 6f 2c 20 |is set t|o zero, |
|00001630| 50 4c 70 6c 6f 74 20 61 | 75 74 6f 6d 61 74 69 63 |PLplot a|utomatic|
|00001640| 61 6c 6c 79 0a 67 65 6e | 65 72 61 74 65 73 20 61 |ally.gen|erates a|
|00001650| 20 73 75 69 74 61 62 6c | 65 20 6d 69 6e 6f 72 20 | suitabl|e minor |
|00001660| 74 69 63 6b 20 69 6e 74 | 65 72 76 61 6c 2e 0a 0a |tick int|erval...|
|00001670| 3c 50 3e 0a 79 6f 70 74 | 20 28 63 68 61 72 20 2a |<P>.yopt| (char *|
|00001680| 2c 20 69 6e 70 75 74 29 | 50 6f 69 6e 74 65 72 20 |, input)|Pointer |
|00001690| 74 6f 20 63 68 61 72 61 | 63 74 65 72 20 73 74 72 |to chara|cter str|
|000016a0| 69 6e 67 20 73 70 65 63 | 69 66 79 69 6e 67 0a 6f |ing spec|ifying.o|
|000016b0| 70 74 69 6f 6e 73 20 66 | 6f 72 20 76 65 72 74 69 |ptions f|or verti|
|000016c0| 63 61 6c 20 61 78 69 73 | 2e 20 20 54 68 65 20 73 |cal axis|. The s|
|000016d0| 74 72 69 6e 67 20 63 61 | 6e 20 69 6e 63 6c 75 64 |tring ca|n includ|
|000016e0| 65 20 61 6e 79 20 63 6f | 6d 62 69 6e 61 74 69 6f |e any co|mbinatio|
|000016f0| 6e 20 6f 66 20 74 68 65 | 0a 6c 65 74 74 65 72 73 |n of the|.letters|
|00001700| 20 64 65 66 69 6e 65 64 | 20 61 62 6f 76 65 20 66 | defined| above f|
|00001710| 6f 72 20 78 6f 70 74 2c | 20 61 6e 64 20 69 6e 20 |or xopt,| and in |
|00001720| 61 64 64 69 74 69 6f 6e | 20 6d 61 79 20 63 6f 6e |addition| may con|
|00001730| 74 61 69 6e 3a 0a 0a 3c | 50 3e 0a 0a 3c 55 4c 3e |tain:..<|P>..<UL>|
|00001740| 0a 3c 4c 49 3e 76 3a 20 | 57 72 69 74 65 20 6e 75 |.<LI>v: |Write nu|
|00001750| 6d 65 72 69 63 20 6c 61 | 62 65 6c 73 20 66 6f 72 |meric la|bels for|
|00001760| 20 76 65 72 74 69 63 61 | 6c 20 61 78 69 73 0a 70 | vertica|l axis.p|
|00001770| 61 72 61 6c 6c 65 6c 20 | 74 6f 20 74 68 65 20 62 |arallel |to the b|
|00001780| 61 73 65 20 6f 66 20 74 | 68 65 20 67 72 61 70 68 |ase of t|he graph|
|00001790| 2c 20 72 61 74 68 65 72 | 20 74 68 61 6e 20 70 61 |, rather| than pa|
|000017a0| 72 61 6c 6c 65 6c 20 74 | 6f 20 74 68 65 20 61 78 |rallel t|o the ax|
|000017b0| 69 73 2e 0a 3c 2f 4c 49 | 3e 0a 3c 2f 55 4c 3e 0a |is..</LI|>.</UL>.|
|000017c0| 0a 3c 50 3e 0a 79 74 69 | 63 6b 20 28 72 65 61 6c |.<P>.yti|ck (real|
|000017d0| 2c 20 69 6e 70 75 74 29 | 57 6f 72 6c 64 20 63 6f |, input)|World co|
|000017e0| 6f 72 64 69 6e 61 74 65 | 20 69 6e 74 65 72 76 61 |ordinate| interva|
|000017f0| 6c 20 62 65 74 77 65 65 | 6e 20 6d 61 6a 6f 72 0a |l betwee|n major.|
|00001800| 74 69 63 6b 73 20 6f 6e | 20 74 68 65 20 79 20 61 |ticks on| the y a|
|00001810| 78 69 73 2e 20 20 49 66 | 20 69 74 20 69 73 20 73 |xis. If| it is s|
|00001820| 65 74 20 74 6f 20 7a 65 | 72 6f 2c 20 50 4c 70 6c |et to ze|ro, PLpl|
|00001830| 6f 74 20 61 75 74 6f 6d | 61 74 69 63 61 6c 6c 79 |ot autom|atically|
|00001840| 20 67 65 6e 65 72 61 74 | 65 73 20 61 0a 73 75 69 | generat|es a.sui|
|00001850| 74 61 62 6c 65 20 74 69 | 63 6b 20 69 6e 74 65 72 |table ti|ck inter|
|00001860| 76 61 6c 2e 0a 0a 3c 50 | 3e 0a 6e 79 73 75 62 20 |val...<P|>.nysub |
|00001870| 28 50 4c 49 4e 54 2c 20 | 69 6e 70 75 74 29 4e 75 |(PLINT, |input)Nu|
|00001880| 6d 62 65 72 20 6f 66 20 | 73 75 62 69 6e 74 65 72 |mber of |subinter|
|00001890| 76 61 6c 73 20 62 65 74 | 77 65 65 6e 20 6d 61 6a |vals bet|ween maj|
|000018a0| 6f 72 0a 79 20 61 78 69 | 73 20 74 69 63 6b 73 20 |or.y axi|s ticks |
|000018b0| 66 6f 72 20 6d 69 6e 6f | 72 20 74 69 63 6b 73 2e |for mino|r ticks.|
|000018c0| 20 20 49 66 20 69 74 20 | 69 73 20 73 65 74 20 74 | If it |is set t|
|000018d0| 6f 20 7a 65 72 6f 2c 20 | 50 4c 70 6c 6f 74 20 61 |o zero, |PLplot a|
|000018e0| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 0a 67 65 6e |utomatic|ally.gen|
|000018f0| 65 72 61 74 65 73 20 61 | 20 73 75 69 74 61 62 6c |erates a| suitabl|
|00001900| 65 20 6d 69 6e 6f 72 20 | 74 69 63 6b 20 69 6e 74 |e minor |tick int|
|00001910| 65 72 76 61 6c 2e 0a 0a | 3c 50 3e 0a 26 23 31 38 |erval...|<P>.&#18|
|00001920| 34 3b 0a 3c 50 3e 0a 70 | 6c 62 6f 78 33 2c 20 70 |4;.<P>.p|lbox3, p|
|00001930| 6c 63 6c 72 2c 20 70 6c | 62 6f 78 2c 20 41 50 49 |lclr, pl|box, API|
|00001940| 0a 0a 3c 50 3e 0a 70 6c | 62 6f 78 33 28 78 6f 70 |..<P>.pl|box3(xop|
|00001950| 74 2c 20 78 6c 61 62 65 | 6c 2c 20 78 74 69 63 6b |t, xlabe|l, xtick|
|00001960| 2c 20 6e 78 73 75 62 2c | 20 79 6f 70 74 2c 20 79 |, nxsub,| yopt, y|
|00001970| 6c 61 62 65 6c 2c 20 79 | 74 69 63 6b 2c 20 6e 79 |label, y|tick, ny|
|00001980| 73 75 62 2c 20 0a 3c 42 | 52 3e 0a 7a 6f 70 74 2c |sub, .<B|R>.zopt,|
|00001990| 20 7a 6c 61 62 65 6c 2c | 20 7a 74 69 63 6b 2c 20 | zlabel,| ztick, |
|000019a0| 6e 7a 73 75 62 29 20 0a | 3c 41 20 49 44 3d 22 70 |nzsub) .|<A ID="p|
|000019b0| 6c 62 6f 78 33 22 3e 3c | 2f 41 3e 70 6c 62 6f 78 |lbox3"><|/A>plbox|
|000019c0| 33 0a 0a 26 23 31 38 34 | 3b 26 23 31 38 34 3b 20 |3..&#184|;&#184; |
|000019d0| 3c 54 41 42 4c 45 20 43 | 45 4c 4c 50 41 44 44 49 |<TABLE C|ELLPADDI|
|000019e0| 4e 47 3d 33 3e 0a 3c 54 | 52 3e 3c 54 44 20 41 4c |NG=3>.<T|R><TD AL|
|000019f0| 49 47 4e 3d 22 4c 45 46 | 54 22 3e 70 26 23 78 33 |IGN="LEF|T">p&#x3|
|00001a00| 32 37 3b 6c 62 6f 78 33 | 28 3c 2f 54 44 3e 0a 3c |27;lbox3|(</TD>.<|
|00001a10| 54 44 20 41 4c 49 47 4e | 3d 22 4c 45 46 54 22 3e |TD ALIGN|="LEFT">|
|00001a20| 26 6e 62 73 70 3b 3c 2f | 54 44 3e 3c 54 44 20 41 |&nbsp;</|TD><TD A|
|00001a30| 4c 49 47 4e 3d 22 4c 45 | 46 54 22 3e 78 6f 70 74 |LIGN="LE|FT">xopt|
|00001a40| 2c 20 78 6c 61 62 65 6c | 2c 20 78 74 69 63 6b 2c |, xlabel|, xtick,|
|00001a50| 20 6e 78 73 75 62 2c 20 | 79 6f 70 74 2c 20 79 6c | nxsub, |yopt, yl|
|00001a60| 61 62 65 6c 2c 20 79 74 | 69 63 6b 2c 20 6e 79 73 |abel, yt|ick, nys|
|00001a70| 75 62 2c 3c 2f 54 44 3e | 0a 3c 2f 54 52 3e 0a 3c |ub,</TD>|.</TR>.<|
|00001a80| 54 52 3e 3c 54 44 20 41 | 4c 49 47 4e 3d 22 4c 45 |TR><TD A|LIGN="LE|
|00001a90| 46 54 22 3e 26 23 31 38 | 34 3b 3c 2f 54 44 3e 0a |FT">&#18|4;</TD>.|
|00001aa0| 3c 54 44 20 41 4c 49 47 | 4e 3d 22 4c 45 46 54 22 |<TD ALIG|N="LEFT"|
|00001ab0| 3e 26 6e 62 73 70 3b 3c | 2f 54 44 3e 3c 54 44 20 |>&nbsp;<|/TD><TD |
|00001ac0| 41 4c 49 47 4e 3d 22 4c | 45 46 54 22 3e 7a 6f 70 |ALIGN="L|EFT">zop|
|00001ad0| 74 2c 20 7a 6c 61 62 65 | 6c 2c 20 7a 74 69 63 6b |t, zlabe|l, ztick|
|00001ae0| 2c 20 6e 7a 73 75 62 29 | 0a 26 23 31 38 34 3b 3c |, nzsub)|.&#184;<|
|00001af0| 2f 54 44 3e 0a 3c 2f 54 | 52 3e 0a 3c 2f 54 41 42 |/TD>.</T|R>.</TAB|
|00001b00| 4c 45 3e 0a 26 23 31 38 | 34 3b 0a 0a 3c 50 3e 0a |LE>.&#18|4;..<P>.|
|00001b10| 44 72 61 77 73 20 61 78 | 65 73 2c 20 6e 75 6d 65 |Draws ax|es, nume|
|00001b20| 72 69 63 20 61 6e 64 20 | 74 65 78 74 20 6c 61 62 |ric and |text lab|
|00001b30| 65 6c 73 20 66 6f 72 20 | 61 20 74 68 72 65 65 2d |els for |a three-|
|00001b40| 64 69 6d 65 6e 73 69 6f | 6e 61 6c 20 73 75 72 66 |dimensio|nal surf|
|00001b50| 61 63 65 0a 70 6c 6f 74 | 2e 20 20 46 6f 72 20 61 |ace.plot|. For a|
|00001b60| 20 6d 6f 72 65 20 63 6f | 6d 70 6c 65 74 65 20 64 | more co|mplete d|
|00001b70| 65 73 63 72 69 70 74 69 | 6f 6e 20 6f 66 20 74 68 |escripti|on of th|
|00001b80| 72 65 65 2d 64 69 6d 65 | 6e 73 69 6f 6e 61 6c 20 |ree-dime|nsional |
|00001b90| 70 6c 6f 74 74 69 6e 67 | 0a 33 2d 64 20 50 6c 6f |plotting|.3-d Plo|
|00001ba0| 74 73 2e 0a 0a 3c 50 3e | 0a 78 6f 70 74 20 28 63 |ts...<P>|.xopt (c|
|00001bb0| 68 61 72 20 2a 2c 20 69 | 6e 70 75 74 29 50 6f 69 |har *, i|nput)Poi|
|00001bc0| 6e 74 65 72 20 74 6f 20 | 63 68 61 72 61 63 74 65 |nter to |characte|
|00001bd0| 72 20 73 74 72 69 6e 67 | 20 73 70 65 63 69 66 79 |r string| specify|
|00001be0| 69 6e 67 0a 6f 70 74 69 | 6f 6e 73 20 66 6f 72 20 |ing.opti|ons for |
|00001bf0| 74 68 65 20 78 20 61 78 | 69 73 2e 20 20 54 68 65 |the x ax|is. The|
|00001c00| 20 73 74 72 69 6e 67 20 | 63 61 6e 20 69 6e 63 6c | string |can incl|
|00001c10| 75 64 65 20 61 6e 79 20 | 63 6f 6d 62 69 6e 61 74 |ude any |combinat|
|00001c20| 69 6f 6e 20 6f 66 20 74 | 68 65 0a 66 6f 6c 6c 6f |ion of t|he.follo|
|00001c30| 77 69 6e 67 20 6c 65 74 | 74 65 72 73 20 28 75 70 |wing let|ters (up|
|00001c40| 70 65 72 20 6f 72 20 6c | 6f 77 65 72 20 63 61 73 |per or l|ower cas|
|00001c50| 65 29 20 69 6e 20 61 6e | 79 20 6f 72 64 65 72 3a |e) in an|y order:|
|00001c60| 0a 0a 3c 50 3e 0a 0a 3c | 55 4c 3e 0a 3c 4c 49 3e |..<P>..<|UL>.<LI>|
|00001c70| 62 3a 20 44 72 61 77 73 | 20 61 78 69 73 20 61 74 |b: Draws| axis at|
|00001c80| 20 62 61 73 65 2c 20 61 | 74 20 68 65 69 67 68 74 | base, a|t height|
|00001c90| 20 7a 3d 7a 6d 69 6e 20 | 77 68 65 72 65 20 7a 6d | z=zmin |where zm|
|00001ca0| 69 6e 0a 69 73 20 64 65 | 66 69 6e 65 64 20 62 79 |in.is de|fined by|
|00001cb0| 20 63 61 6c 6c 20 74 6f | 20 70 6c 77 33 64 2e 20 | call to| plw3d. |
|00001cc0| 20 54 68 69 73 20 63 68 | 61 72 61 63 74 65 72 20 | This ch|aracter |
|00001cd0| 6d 75 73 74 20 62 65 20 | 73 70 65 63 69 66 69 65 |must be |specifie|
|00001ce0| 64 20 69 6e 0a 6f 72 64 | 65 72 20 74 6f 20 75 73 |d in.ord|er to us|
|00001cf0| 65 20 61 6e 79 20 6f 66 | 20 74 68 65 20 6f 74 68 |e any of| the oth|
|00001d00| 65 72 20 6f 70 74 69 6f | 6e 73 2e 0a 0a 3c 50 3e |er optio|ns...<P>|
|00001d10| 0a 3c 2f 4c 49 3e 0a 3c | 4c 49 3e 69 3a 20 49 6e |.</LI>.<|LI>i: In|
|00001d20| 76 65 72 74 73 20 74 69 | 63 6b 20 6d 61 72 6b 73 |verts ti|ck marks|
|00001d30| 2c 20 73 6f 20 74 68 65 | 79 20 61 72 65 20 64 72 |, so the|y are dr|
|00001d40| 61 77 6e 20 64 6f 77 6e | 77 61 72 64 73 2c 20 72 |awn down|wards, r|
|00001d50| 61 74 68 65 72 20 74 68 | 61 6e 0a 75 70 77 61 72 |ather th|an.upwar|
|00001d60| 64 73 2e 0a 0a 3c 50 3e | 0a 3c 2f 4c 49 3e 0a 3c |ds...<P>|.</LI>.<|
|00001d70| 4c 49 3e 6c 3a 20 4c 61 | 62 65 6c 73 20 61 78 69 |LI>l: La|bels axi|
|00001d80| 73 20 6c 6f 67 61 72 69 | 74 68 6d 69 63 61 6c 6c |s logari|thmicall|
|00001d90| 79 2e 20 20 54 68 69 73 | 20 6f 6e 6c 79 20 61 66 |y. This| only af|
|00001da0| 66 65 63 74 73 20 74 68 | 65 20 6c 61 62 65 6c 73 |fects th|e labels|
|00001db0| 2c 20 0a 6e 6f 74 20 74 | 68 65 20 64 61 74 61 2c |, .not t|he data,|
|00001dc0| 20 61 6e 64 20 73 6f 20 | 69 74 20 69 73 20 6e 65 | and so |it is ne|
|00001dd0| 63 65 73 73 61 72 79 20 | 74 6f 20 63 6f 6d 70 75 |cessary |to compu|
|00001de0| 74 65 20 74 68 65 20 6c | 6f 67 61 72 69 74 68 6d |te the l|ogarithm|
|00001df0| 73 20 6f 66 20 64 61 74 | 61 0a 70 6f 69 6e 74 73 |s of dat|a.points|
|00001e00| 20 62 65 66 6f 72 65 20 | 70 61 73 73 69 6e 67 20 | before |passing |
|00001e10| 74 68 65 6d 20 74 6f 20 | 61 6e 79 20 6f 66 20 74 |them to |any of t|
|00001e20| 68 65 20 64 72 61 77 69 | 6e 67 20 72 6f 75 74 69 |he drawi|ng routi|
|00001e30| 6e 65 73 2e 0a 0a 3c 50 | 3e 0a 3c 2f 4c 49 3e 0a |nes...<P|>.</LI>.|
|00001e40| 3c 4c 49 3e 6e 3a 20 57 | 72 69 74 65 73 20 6e 75 |<LI>n: W|rites nu|
|00001e50| 6d 65 72 69 63 20 6c 61 | 62 65 6c 73 20 61 74 20 |meric la|bels at |
|00001e60| 6d 61 6a 6f 72 20 74 69 | 63 6b 20 69 6e 74 65 72 |major ti|ck inter|
|00001e70| 76 61 6c 73 2e 0a 0a 3c | 50 3e 0a 3c 2f 4c 49 3e |vals...<|P>.</LI>|
|00001e80| 0a 3c 4c 49 3e 73 3a 20 | 45 6e 61 62 6c 65 73 20 |.<LI>s: |Enables |
|00001e90| 73 75 62 74 69 63 6b 73 | 20 62 65 74 77 65 65 6e |subticks| between|
|00001ea0| 20 6d 61 6a 6f 72 20 74 | 69 63 6b 73 2c 20 6f 6e | major t|icks, on|
|00001eb0| 6c 79 20 76 61 6c 69 64 | 20 69 66 20 74 20 69 73 |ly valid| if t is|
|00001ec0| 0a 61 6c 73 6f 20 73 70 | 65 63 69 66 69 65 64 2e |.also sp|ecified.|
|00001ed0| 0a 0a 3c 50 3e 0a 3c 2f | 4c 49 3e 0a 3c 4c 49 3e |..<P>.</|LI>.<LI>|
|00001ee0| 74 3a 20 44 72 61 77 73 | 20 6d 61 6a 6f 72 20 74 |t: Draws| major t|
|00001ef0| 69 63 6b 73 2e 0a 0a 3c | 50 3e 0a 3c 2f 4c 49 3e |icks...<|P>.</LI>|
|00001f00| 0a 3c 4c 49 3e 75 3a 20 | 49 66 20 74 68 69 73 20 |.<LI>u: |If this |
|00001f10| 69 73 20 73 70 65 63 69 | 66 69 65 64 2c 20 74 68 |is speci|fied, th|
|00001f20| 65 20 74 65 78 74 20 6c | 61 62 65 6c 20 66 6f 72 |e text l|abel for|
|00001f30| 20 74 68 65 20 61 78 69 | 73 20 69 73 20 77 72 69 | the axi|s is wri|
|00001f40| 74 74 65 6e 0a 75 6e 64 | 65 72 20 74 68 65 20 61 |tten.und|er the a|
|00001f50| 78 69 73 2e 0a 3c 2f 4c | 49 3e 0a 3c 2f 55 4c 3e |xis..</L|I>.</UL>|
|00001f60| 0a 0a 3c 50 3e 0a 78 6c | 61 62 65 6c 20 28 63 68 |..<P>.xl|abel (ch|
|00001f70| 61 72 20 2a 2c 20 69 6e | 70 75 74 29 50 6f 69 6e |ar *, in|put)Poin|
|00001f80| 74 65 72 20 74 6f 20 63 | 68 61 72 61 63 74 65 72 |ter to c|haracter|
|00001f90| 20 73 74 72 69 6e 67 20 | 73 70 65 63 69 66 79 69 | string |specifyi|
|00001fa0| 6e 67 0a 74 65 78 74 20 | 6c 61 62 65 6c 20 66 6f |ng.text |label fo|
|00001fb0| 72 20 74 68 65 20 78 20 | 61 78 69 73 2e 20 20 49 |r the x |axis. I|
|00001fc0| 74 20 69 73 20 6f 6e 6c | 79 20 64 72 61 77 6e 20 |t is onl|y drawn |
|00001fd0| 69 66 20 75 20 69 73 20 | 69 6e 20 74 68 65 20 78 |if u is |in the x|
|00001fe0| 6f 70 74 0a 73 74 72 69 | 6e 67 2e 0a 0a 3c 50 3e |opt.stri|ng...<P>|
|00001ff0| 0a 78 74 69 63 6b 20 28 | 50 4c 46 4c 54 2c 20 69 |.xtick (|PLFLT, i|
|00002000| 6e 70 75 74 29 57 6f 72 | 6c 64 20 63 6f 6f 72 64 |nput)Wor|ld coord|
|00002010| 69 6e 61 74 65 20 69 6e | 74 65 72 76 61 6c 20 62 |inate in|terval b|
|00002020| 65 74 77 65 65 6e 20 6d | 61 6a 6f 72 0a 74 69 63 |etween m|ajor.tic|
|00002030| 6b 73 20 6f 6e 20 74 68 | 65 20 78 20 61 78 69 73 |ks on th|e x axis|
|00002040| 2e 20 20 49 66 20 69 74 | 20 69 73 20 73 65 74 20 |. If it| is set |
|00002050| 74 6f 20 7a 65 72 6f 2c | 20 50 4c 70 6c 6f 74 20 |to zero,| PLplot |
|00002060| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 20 67 65 |automati|cally ge|
|00002070| 6e 65 72 61 74 65 73 20 | 61 0a 73 75 69 74 61 62 |nerates |a.suitab|
|00002080| 6c 65 20 74 69 63 6b 20 | 69 6e 74 65 72 76 61 6c |le tick |interval|
|00002090| 2e 0a 0a 3c 50 3e 0a 6e | 78 73 75 62 20 28 50 4c |...<P>.n|xsub (PL|
|000020a0| 49 4e 54 2c 20 69 6e 70 | 75 74 29 4e 75 6d 62 65 |INT, inp|ut)Numbe|
|000020b0| 72 20 6f 66 20 73 75 62 | 69 6e 74 65 72 76 61 6c |r of sub|interval|
|000020c0| 73 20 62 65 74 77 65 65 | 6e 20 6d 61 6a 6f 72 0a |s betwee|n major.|
|000020d0| 78 20 61 78 69 73 20 74 | 69 63 6b 73 20 66 6f 72 |x axis t|icks for|
|000020e0| 20 6d 69 6e 6f 72 20 74 | 69 63 6b 73 2e 20 20 49 | minor t|icks. I|
|000020f0| 66 20 69 74 20 69 73 20 | 73 65 74 20 74 6f 20 7a |f it is |set to z|
|00002100| 65 72 6f 2c 20 50 4c 70 | 6c 6f 74 20 61 75 74 6f |ero, PLp|lot auto|
|00002110| 6d 61 74 69 63 61 6c 6c | 79 0a 67 65 6e 65 72 61 |maticall|y.genera|
|00002120| 74 65 73 20 61 20 73 75 | 69 74 61 62 6c 65 20 6d |tes a su|itable m|
|00002130| 69 6e 6f 72 20 74 69 63 | 6b 20 69 6e 74 65 72 76 |inor tic|k interv|
|00002140| 61 6c 2e 0a 0a 3c 50 3e | 0a 79 6f 70 74 20 28 63 |al...<P>|.yopt (c|
|00002150| 68 61 72 20 2a 2c 20 69 | 6e 70 75 74 29 50 6f 69 |har *, i|nput)Poi|
|00002160| 6e 74 65 72 20 74 6f 20 | 63 68 61 72 61 63 74 65 |nter to |characte|
|00002170| 72 20 73 74 72 69 6e 67 | 20 73 70 65 63 69 66 79 |r string| specify|
|00002180| 69 6e 67 0a 6f 70 74 69 | 6f 6e 73 20 66 6f 72 20 |ing.opti|ons for |
|00002190| 74 68 65 20 79 20 61 78 | 69 73 2e 20 20 54 68 65 |the y ax|is. The|
|000021a0| 20 73 74 72 69 6e 67 20 | 69 73 20 69 6e 74 65 72 | string |is inter|
|000021b0| 70 72 65 74 65 64 20 69 | 6e 20 74 68 65 20 73 61 |preted i|n the sa|
|000021c0| 6d 65 20 77 61 79 20 61 | 73 0a 78 6f 70 74 2e 0a |me way a|s.xopt..|
|000021d0| 0a 3c 50 3e 0a 79 6c 61 | 62 65 6c 20 28 63 68 61 |.<P>.yla|bel (cha|
|000021e0| 72 20 2a 2c 20 69 6e 70 | 75 74 29 50 6f 69 6e 74 |r *, inp|ut)Point|
|000021f0| 65 72 20 74 6f 20 63 68 | 61 72 61 63 74 65 72 20 |er to ch|aracter |
|00002200| 73 74 72 69 6e 67 20 73 | 70 65 63 69 66 79 69 6e |string s|pecifyin|
|00002210| 67 0a 74 65 78 74 20 6c | 61 62 65 6c 20 66 6f 72 |g.text l|abel for|
|00002220| 20 74 68 65 20 79 20 61 | 78 69 73 2e 20 20 49 74 | the y a|xis. It|
|00002230| 20 69 73 20 6f 6e 6c 79 | 20 64 72 61 77 6e 20 69 | is only| drawn i|
|00002240| 66 20 75 20 69 73 20 69 | 6e 20 74 68 65 20 79 6f |f u is i|n the yo|
|00002250| 70 74 0a 73 74 72 69 6e | 67 2e 0a 0a 3c 50 3e 0a |pt.strin|g...<P>.|
|00002260| 79 74 69 63 6b 20 28 50 | 4c 46 4c 54 2c 20 69 6e |ytick (P|LFLT, in|
|00002270| 70 75 74 29 57 6f 72 6c | 64 20 63 6f 6f 72 64 69 |put)Worl|d coordi|
|00002280| 6e 61 74 65 20 69 6e 74 | 65 72 76 61 6c 20 62 65 |nate int|erval be|
|00002290| 74 77 65 65 6e 20 6d 61 | 6a 6f 72 0a 74 69 63 6b |tween ma|jor.tick|
|000022a0| 73 20 6f 6e 20 74 68 65 | 20 79 20 61 78 69 73 2e |s on the| y axis.|
|000022b0| 20 20 49 66 20 69 74 20 | 69 73 20 73 65 74 20 74 | If it |is set t|
|000022c0| 6f 20 7a 65 72 6f 2c 20 | 50 4c 70 6c 6f 74 20 61 |o zero, |PLplot a|
|000022d0| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 20 67 65 6e |utomatic|ally gen|
|000022e0| 65 72 61 74 65 73 20 61 | 0a 73 75 69 74 61 62 6c |erates a|.suitabl|
|000022f0| 65 20 74 69 63 6b 20 69 | 6e 74 65 72 76 61 6c 2e |e tick i|nterval.|
|00002300| 0a 0a 3c 50 3e 0a 6e 79 | 73 75 62 20 28 50 4c 49 |..<P>.ny|sub (PLI|
|00002310| 4e 54 2c 20 69 6e 70 75 | 74 29 4e 75 6d 62 65 72 |NT, inpu|t)Number|
|00002320| 20 6f 66 20 73 75 62 69 | 6e 74 65 72 76 61 6c 73 | of subi|ntervals|
|00002330| 20 62 65 74 77 65 65 6e | 20 6d 61 6a 6f 72 0a 79 | between| major.y|
|00002340| 20 61 78 69 73 20 74 69 | 63 6b 73 20 66 6f 72 20 | axis ti|cks for |
|00002350| 6d 69 6e 6f 72 20 74 69 | 63 6b 73 2e 20 20 49 66 |minor ti|cks. If|
|00002360| 20 69 74 20 69 73 20 73 | 65 74 20 74 6f 20 7a 65 | it is s|et to ze|
|00002370| 72 6f 2c 20 50 4c 70 6c | 6f 74 20 61 75 74 6f 6d |ro, PLpl|ot autom|
|00002380| 61 74 69 63 61 6c 6c 79 | 0a 67 65 6e 65 72 61 74 |atically|.generat|
|00002390| 65 73 20 61 20 73 75 69 | 74 61 62 6c 65 20 6d 69 |es a sui|table mi|
|000023a0| 6e 6f 72 20 74 69 63 6b | 20 69 6e 74 65 72 76 61 |nor tick| interva|
|000023b0| 6c 2e 0a 0a 3c 50 3e 0a | 7a 6f 70 74 20 28 63 68 |l...<P>.|zopt (ch|
|000023c0| 61 72 20 2a 2c 20 69 6e | 70 75 74 29 50 6f 69 6e |ar *, in|put)Poin|
|000023d0| 74 65 72 20 74 6f 20 63 | 68 61 72 61 63 74 65 72 |ter to c|haracter|
|000023e0| 20 73 74 72 69 6e 67 20 | 73 70 65 63 69 66 79 69 | string |specifyi|
|000023f0| 6e 67 0a 6f 70 74 69 6f | 6e 73 20 66 6f 72 20 74 |ng.optio|ns for t|
|00002400| 68 65 20 7a 20 61 78 69 | 73 2e 20 20 54 68 65 20 |he z axi|s. The |
|00002410| 73 74 72 69 6e 67 20 63 | 61 6e 20 69 6e 63 6c 75 |string c|an inclu|
|00002420| 64 65 20 61 6e 79 20 63 | 6f 6d 62 69 6e 61 74 69 |de any c|ombinati|
|00002430| 6f 6e 20 6f 66 20 74 68 | 65 0a 66 6f 6c 6c 6f 77 |on of th|e.follow|
|00002440| 69 6e 67 20 6c 65 74 74 | 65 72 73 20 28 75 70 70 |ing lett|ers (upp|
|00002450| 65 72 20 6f 72 20 6c 6f | 77 65 72 20 63 61 73 65 |er or lo|wer case|
|00002460| 29 20 69 6e 20 61 6e 79 | 20 6f 72 64 65 72 3a 0a |) in any| order:.|
|00002470| 0a 3c 50 3e 0a 0a 3c 55 | 4c 3e 0a 3c 4c 49 3e 62 |.<P>..<U|L>.<LI>b|
|00002480| 3a 20 44 72 61 77 73 20 | 7a 20 61 78 69 73 20 74 |: Draws |z axis t|
|00002490| 6f 20 74 68 65 20 6c 65 | 66 74 20 6f 66 20 74 68 |o the le|ft of th|
|000024a0| 65 20 73 75 72 66 61 63 | 65 20 70 6c 6f 74 2e 0a |e surfac|e plot..|
|000024b0| 0a 3c 50 3e 0a 3c 2f 4c | 49 3e 0a 3c 4c 49 3e 63 |.<P>.</L|I>.<LI>c|
|000024c0| 3a 20 44 72 61 77 73 20 | 7a 20 61 78 69 73 20 74 |: Draws |z axis t|
|000024d0| 6f 20 74 68 65 20 72 69 | 67 68 74 20 6f 66 20 74 |o the ri|ght of t|
|000024e0| 68 65 20 73 75 72 66 61 | 63 65 20 70 6c 6f 74 2e |he surfa|ce plot.|
|000024f0| 0a 0a 3c 50 3e 0a 3c 2f | 4c 49 3e 0a 3c 4c 49 3e |..<P>.</|LI>.<LI>|
|00002500| 64 3a 20 44 72 61 77 73 | 20 67 72 69 64 20 6c 69 |d: Draws| grid li|
|00002510| 6e 65 73 20 70 61 72 61 | 6c 6c 65 6c 20 74 6f 20 |nes para|llel to |
|00002520| 74 68 65 20 78 2d 79 20 | 70 6c 61 6e 65 20 62 65 |the x-y |plane be|
|00002530| 68 69 6e 64 20 74 68 65 | 20 66 69 67 75 72 65 2e |hind the| figure.|
|00002540| 0a 54 68 65 73 65 20 6c | 69 6e 65 73 20 61 72 65 |.These l|ines are|
|00002550| 20 6e 6f 74 20 64 72 61 | 77 6e 20 75 6e 74 69 6c | not dra|wn until|
|00002560| 20 61 66 74 65 72 20 70 | 6c 6f 74 33 64 20 6f 72 | after p|lot3d or|
|00002570| 20 70 6c 6d 65 73 68 20 | 61 72 65 20 63 61 6c 6c | plmesh |are call|
|00002580| 65 64 0a 62 65 63 61 75 | 73 65 20 6f 66 20 74 68 |ed.becau|se of th|
|00002590| 65 20 6e 65 65 64 20 66 | 6f 72 20 68 69 64 64 65 |e need f|or hidde|
|000025a0| 6e 20 6c 69 6e 65 20 72 | 65 6d 6f 76 61 6c 2e 0a |n line r|emoval..|
|000025b0| 0a 3c 50 3e 0a 3c 2f 4c | 49 3e 0a 3c 4c 49 3e 69 |.<P>.</L|I>.<LI>i|
|000025c0| 3a 20 49 6e 76 65 72 74 | 73 20 74 69 63 6b 20 6d |: Invert|s tick m|
|000025d0| 61 72 6b 73 2c 20 73 6f | 20 74 68 65 79 20 61 72 |arks, so| they ar|
|000025e0| 65 20 64 72 61 77 6e 20 | 61 77 61 79 20 66 72 6f |e drawn |away fro|
|000025f0| 6d 20 74 68 65 20 63 65 | 6e 74 65 72 2e 0a 0a 3c |m the ce|nter...<|
|00002600| 50 3e 0a 3c 2f 4c 49 3e | 0a 3c 4c 49 3e 6c 3a 20 |P>.</LI>|.<LI>l: |
|00002610| 4c 61 62 65 6c 73 20 61 | 78 69 73 20 6c 6f 67 61 |Labels a|xis loga|
|00002620| 72 69 74 68 6d 69 63 61 | 6c 6c 79 2e 20 20 54 68 |rithmica|lly. Th|
|00002630| 69 73 20 6f 6e 6c 79 20 | 61 66 66 65 63 74 73 20 |is only |affects |
|00002640| 74 68 65 20 6c 61 62 65 | 6c 73 2c 20 0a 6e 6f 74 |the labe|ls, .not|
|00002650| 20 74 68 65 20 64 61 74 | 61 2c 20 61 6e 64 20 73 | the dat|a, and s|
|00002660| 6f 20 69 74 20 69 73 20 | 6e 65 63 65 73 73 61 72 |o it is |necessar|
|00002670| 79 20 74 6f 20 63 6f 6d | 70 75 74 65 20 74 68 65 |y to com|pute the|
|00002680| 20 6c 6f 67 61 72 69 74 | 68 6d 73 20 6f 66 20 64 | logarit|hms of d|
|00002690| 61 74 61 0a 70 6f 69 6e | 74 73 20 62 65 66 6f 72 |ata.poin|ts befor|
|000026a0| 65 20 70 61 73 73 69 6e | 67 20 74 68 65 6d 20 74 |e passin|g them t|
|000026b0| 6f 20 61 6e 79 20 6f 66 | 20 74 68 65 20 64 72 61 |o any of| the dra|
|000026c0| 77 69 6e 67 20 72 6f 75 | 74 69 6e 65 73 2e 0a 0a |wing rou|tines...|
|000026d0| 3c 50 3e 0a 3c 2f 4c 49 | 3e 0a 3c 4c 49 3e 6d 3a |<P>.</LI|>.<LI>m:|
|000026e0| 20 57 72 69 74 65 73 20 | 6e 75 6d 65 72 69 63 20 | Writes |numeric |
|000026f0| 6c 61 62 65 6c 73 20 61 | 74 20 6d 61 6a 6f 72 20 |labels a|t major |
|00002700| 74 69 63 6b 20 69 6e 74 | 65 72 76 61 6c 73 20 6f |tick int|ervals o|
|00002710| 6e 20 74 68 65 20 72 69 | 67 68 74 2d 68 61 6e 64 |n the ri|ght-hand|
|00002720| 0a 76 65 72 69 63 61 6c | 20 61 78 69 73 2e 0a 0a |.verical| axis...|
|00002730| 3c 50 3e 0a 3c 2f 4c 49 | 3e 0a 3c 4c 49 3e 6e 3a |<P>.</LI|>.<LI>n:|
|00002740| 20 57 72 69 74 65 73 20 | 6e 75 6d 65 72 69 63 20 | Writes |numeric |
|00002750| 6c 61 62 65 6c 73 20 61 | 74 20 6d 61 6a 6f 72 20 |labels a|t major |
|00002760| 74 69 63 6b 20 69 6e 74 | 65 72 76 61 6c 73 20 6f |tick int|ervals o|
|00002770| 6e 20 74 68 65 20 6c 65 | 66 74 2d 68 61 6e 64 0a |n the le|ft-hand.|
|00002780| 76 65 72 69 63 61 6c 20 | 61 78 69 73 2e 0a 0a 3c |verical |axis...<|
|00002790| 50 3e 0a 3c 2f 4c 49 3e | 0a 3c 4c 49 3e 73 3a 20 |P>.</LI>|.<LI>s: |
|000027a0| 45 6e 61 62 6c 65 73 20 | 73 75 62 74 69 63 6b 73 |Enables |subticks|
|000027b0| 20 62 65 74 77 65 65 6e | 20 6d 61 6a 6f 72 20 74 | between| major t|
|000027c0| 69 63 6b 73 2c 20 6f 6e | 6c 79 20 76 61 6c 69 64 |icks, on|ly valid|
|000027d0| 20 69 66 20 74 20 69 73 | 0a 61 6c 73 6f 20 73 70 | if t is|.also sp|
|000027e0| 65 63 69 66 69 65 64 2e | 0a 0a 3c 50 3e 0a 3c 2f |ecified.|..<P>.</|
|000027f0| 4c 49 3e 0a 3c 4c 49 3e | 74 3a 20 44 72 61 77 73 |LI>.<LI>|t: Draws|
|00002800| 20 6d 61 6a 6f 72 20 74 | 69 63 6b 73 2e 0a 0a 3c | major t|icks...<|
|00002810| 50 3e 0a 3c 2f 4c 49 3e | 0a 3c 4c 49 3e 75 3a 20 |P>.</LI>|.<LI>u: |
|00002820| 49 66 20 74 68 69 73 20 | 69 73 20 73 70 65 63 69 |If this |is speci|
|00002830| 66 69 65 64 2c 20 74 68 | 65 20 74 65 78 74 20 6c |fied, th|e text l|
|00002840| 61 62 65 6c 20 69 73 20 | 77 72 69 74 74 65 6e 20 |abel is |written |
|00002850| 62 65 73 69 64 65 20 74 | 68 65 0a 6c 65 66 74 2d |beside t|he.left-|
|00002860| 68 61 6e 64 20 61 78 69 | 73 2e 0a 0a 3c 50 3e 0a |hand axi|s...<P>.|
|00002870| 3c 2f 4c 49 3e 0a 3c 4c | 49 3e 76 3a 20 49 66 20 |</LI>.<L|I>v: If |
|00002880| 74 68 69 73 20 69 73 20 | 73 70 65 63 69 66 69 65 |this is |specifie|
|00002890| 64 2c 20 74 68 65 20 74 | 65 78 74 20 6c 61 62 65 |d, the t|ext labe|
|000028a0| 6c 20 69 73 20 77 72 69 | 74 74 65 6e 20 62 65 73 |l is wri|tten bes|
|000028b0| 69 64 65 20 74 68 65 0a | 72 69 67 68 74 2d 68 61 |ide the.|right-ha|
|000028c0| 6e 64 20 61 78 69 73 2e | 0a 3c 2f 4c 49 3e 0a 3c |nd axis.|.</LI>.<|
|000028d0| 2f 55 4c 3e 0a 0a 3c 50 | 3e 0a 7a 6c 61 62 65 6c |/UL>..<P|>.zlabel|
|000028e0| 20 28 63 68 61 72 20 2a | 2c 20 69 6e 70 75 74 29 | (char *|, input)|
|000028f0| 50 6f 69 6e 74 65 72 20 | 74 6f 20 63 68 61 72 61 |Pointer |to chara|
|00002900| 63 74 65 72 20 73 74 72 | 69 6e 67 20 73 70 65 63 |cter str|ing spec|
|00002910| 69 66 79 69 6e 67 0a 74 | 65 78 74 20 6c 61 62 65 |ifying.t|ext labe|
|00002920| 6c 20 66 6f 72 20 74 68 | 65 20 7a 20 61 78 69 73 |l for th|e z axis|
|00002930| 2e 20 20 49 74 20 69 73 | 20 6f 6e 6c 79 20 64 72 |. It is| only dr|
|00002940| 61 77 6e 20 69 66 20 75 | 20 6f 72 20 76 20 61 72 |awn if u| or v ar|
|00002950| 65 20 69 6e 0a 74 68 65 | 20 7a 6f 70 74 20 73 74 |e in.the| zopt st|
|00002960| 72 69 6e 67 2e 0a 0a 3c | 50 3e 0a 7a 74 69 63 6b |ring...<|P>.ztick|
|00002970| 20 28 50 4c 46 4c 54 2c | 20 69 6e 70 75 74 29 57 | (PLFLT,| input)W|
|00002980| 6f 72 6c 64 20 63 6f 6f | 72 64 69 6e 61 74 65 20 |orld coo|rdinate |
|00002990| 69 6e 74 65 72 76 61 6c | 20 62 65 74 77 65 65 6e |interval| between|
|000029a0| 20 6d 61 6a 6f 72 0a 74 | 69 63 6b 73 20 6f 6e 20 | major.t|icks on |
|000029b0| 74 68 65 20 7a 20 61 78 | 69 73 2e 20 20 49 66 20 |the z ax|is. If |
|000029c0| 69 74 20 69 73 20 73 65 | 74 20 74 6f 20 7a 65 72 |it is se|t to zer|
|000029d0| 6f 2c 20 50 4c 70 6c 6f | 74 20 61 75 74 6f 6d 61 |o, PLplo|t automa|
|000029e0| 74 69 63 61 6c 6c 79 20 | 67 65 6e 65 72 61 74 65 |tically |generate|
|000029f0| 73 20 61 0a 73 75 69 74 | 61 62 6c 65 20 74 69 63 |s a.suit|able tic|
|00002a00| 6b 20 69 6e 74 65 72 76 | 61 6c 2e 0a 0a 3c 50 3e |k interv|al...<P>|
|00002a10| 0a 6e 7a 73 75 62 20 28 | 50 4c 49 4e 54 2c 20 69 |.nzsub (|PLINT, i|
|00002a20| 6e 70 75 74 29 4e 75 6d | 62 65 72 20 6f 66 20 73 |nput)Num|ber of s|
|00002a30| 75 62 69 6e 74 65 72 76 | 61 6c 73 20 62 65 74 77 |ubinterv|als betw|
|00002a40| 65 65 6e 20 6d 61 6a 6f | 72 0a 7a 20 61 78 69 73 |een majo|r.z axis|
|00002a50| 20 74 69 63 6b 73 20 66 | 6f 72 20 6d 69 6e 6f 72 | ticks f|or minor|
|00002a60| 20 74 69 63 6b 73 2e 20 | 20 49 66 20 69 74 20 69 | ticks. | If it i|
|00002a70| 73 20 73 65 74 20 74 6f | 20 7a 65 72 6f 2c 20 50 |s set to| zero, P|
|00002a80| 4c 70 6c 6f 74 20 61 75 | 74 6f 6d 61 74 69 63 61 |Lplot au|tomatica|
|00002a90| 6c 6c 79 0a 67 65 6e 65 | 72 61 74 65 73 20 61 20 |lly.gene|rates a |
|00002aa0| 73 75 69 74 61 62 6c 65 | 20 6d 69 6e 6f 72 20 74 |suitable| minor t|
|00002ab0| 69 63 6b 20 69 6e 74 65 | 72 76 61 6c 2e 0a 0a 3c |ick inte|rval...<|
|00002ac0| 50 3e 0a 26 23 31 38 34 | 3b 0a 3c 50 3e 0a 70 6c |P>.&#184|;.<P>.pl|
|00002ad0| 63 6c 72 2c 20 70 6c 63 | 6f 6c 2c 20 70 6c 62 6f |clr, plc|ol, plbo|
|00002ae0| 78 33 2c 20 41 50 49 0a | 0a 3c 50 3e 0a 70 6c 63 |x3, API.|.<P>.plc|
|00002af0| 6c 72 28 29 0a 3c 41 20 | 49 44 3d 22 62 6e 61 6d |lr().<A |ID="bnam|
|00002b00| 65 22 3e 3c 2f 41 3e 70 | 6c 63 6c 72 0a 0a 3c 50 |e"></A>p|lclr..<P|
|00002b10| 3e 0a 43 6c 65 61 72 73 | 20 74 68 65 20 67 72 61 |>.Clears| the gra|
|00002b20| 70 68 69 63 73 20 73 63 | 72 65 65 6e 20 6f 66 20 |phics sc|reen of |
|00002b30| 61 6e 20 69 6e 74 65 72 | 61 63 74 69 76 65 20 64 |an inter|active d|
|00002b40| 65 76 69 63 65 2c 20 6f | 72 20 65 6a 65 63 74 73 |evice, o|r ejects|
|00002b50| 20 61 0a 70 61 67 65 20 | 6f 6e 20 61 20 70 6c 6f | a.page |on a plo|
|00002b60| 74 74 65 72 2e 20 20 70 | 6c 70 61 67 65 20 66 6f |tter. p|lpage fo|
|00002b70| 72 20 6d 6f 72 65 20 69 | 6e 66 6f 72 6d 61 74 69 |r more i|nformati|
|00002b80| 6f 6e 2e 0a 0a 3c 50 3e | 0a 26 23 31 38 34 3b 0a |on...<P>|.&#184;.|
|00002b90| 3c 50 3e 0a 70 6c 63 6f | 6c 2c 20 70 6c 63 6f 6e |<P>.plco|l, plcon|
|00002ba0| 30 2c 20 70 6c 63 6c 72 | 2c 20 41 50 49 0a 0a 3c |0, plclr|, API..<|
|00002bb0| 50 3e 0a 70 6c 63 6f 6c | 28 63 6f 6c 6f 72 29 0a |P>.plcol|(color).|
|00002bc0| 3c 41 20 49 44 3d 22 70 | 6c 63 6f 6c 22 3e 3c 2f |<A ID="p|lcol"></|
|00002bd0| 41 3e 70 6c 63 6f 6c 0a | 0a 3c 50 3e 0a 53 65 74 |A>plcol.|.<P>.Set|
|00002be0| 73 20 74 68 65 20 63 6f | 6c 6f 72 20 66 6f 72 20 |s the co|lor for |
|00002bf0| 73 75 62 73 65 71 75 65 | 6e 74 20 6c 69 6e 65 73 |subseque|nt lines|
|00002c00| 2e 0a 0a 3c 50 3e 0a 63 | 6f 6c 6f 72 20 28 50 4c |...<P>.c|olor (PL|
|00002c10| 49 4e 54 2c 20 69 6e 70 | 75 74 29 49 6e 74 65 67 |INT, inp|ut)Integ|
|00002c20| 65 72 20 72 65 70 72 65 | 73 65 6e 74 69 6e 67 20 |er repre|senting |
|00002c30| 74 68 65 20 63 6f 6c 6f | 72 2e 20 20 54 68 65 0a |the colo|r. The.|
|00002c40| 64 65 66 61 75 6c 74 73 | 20 61 74 20 70 72 65 73 |defaults| at pres|
|00002c50| 65 6e 74 20 61 72 65 20 | 28 74 68 65 73 65 20 6d |ent are |(these m|
|00002c60| 61 79 20 63 68 61 6e 67 | 65 29 3a 0a 0a 3c 50 3e |ay chang|e):..<P>|
|00002c70| 0a 0a 3c 4f 4c 3e 0a 3c | 4c 49 3e 62 6c 61 63 6b |..<OL>.<|LI>black|
|00002c80| 20 28 64 65 66 61 75 6c | 74 20 62 61 63 6b 67 72 | (defaul|t backgr|
|00002c90| 6f 75 6e 64 29 0a 3c 2f | 4c 49 3e 0a 3c 4c 49 3e |ound).</|LI>.<LI>|
|00002ca0| 72 65 64 0a 3c 2f 4c 49 | 3e 0a 3c 4c 49 3e 79 65 |red.</LI|>.<LI>ye|
|00002cb0| 6c 6c 6f 77 0a 3c 2f 4c | 49 3e 0a 3c 4c 49 3e 67 |llow.</L|I>.<LI>g|
|00002cc0| 72 65 65 6e 0a 3c 2f 4c | 49 3e 0a 3c 4c 49 3e 61 |reen.</L|I>.<LI>a|
|00002cd0| 71 75 61 6d 61 72 69 6e | 65 0a 3c 2f 4c 49 3e 0a |quamarin|e.</LI>.|
|00002ce0| 3c 4c 49 3e 70 69 6e 6b | 0a 3c 2f 4c 49 3e 0a 3c |<LI>pink|.</LI>.<|
|00002cf0| 4c 49 3e 77 68 65 61 74 | 0a 3c 2f 4c 49 3e 0a 3c |LI>wheat|.</LI>.<|
|00002d00| 4c 49 3e 67 72 65 79 0a | 3c 2f 4c 49 3e 0a 3c 4c |LI>grey.|</LI>.<L|
|00002d10| 49 3e 62 72 6f 77 6e 0a | 3c 2f 4c 49 3e 0a 3c 4c |I>brown.|</LI>.<L|
|00002d20| 49 3e 62 6c 75 65 0a 3c | 2f 4c 49 3e 0a 3c 4c 49 |I>blue.<|/LI>.<LI|
|00002d30| 3e 42 6c 75 65 56 69 6f | 6c 65 74 0a 3c 2f 4c 49 |>BlueVio|let.</LI|
|00002d40| 3e 0a 3c 4c 49 3e 63 79 | 61 6e 0a 3c 2f 4c 49 3e |>.<LI>cy|an.</LI>|
|00002d50| 0a 3c 4c 49 3e 74 75 72 | 71 75 6f 69 73 65 0a 3c |.<LI>tur|quoise.<|
|00002d60| 2f 4c 49 3e 0a 3c 4c 49 | 3e 6d 61 67 65 6e 74 61 |/LI>.<LI|>magenta|
|00002d70| 0a 3c 2f 4c 49 3e 0a 3c | 4c 49 3e 73 61 6c 6d 6f |.</LI>.<|LI>salmo|
|00002d80| 6e 0a 3c 2f 4c 49 3e 0a | 3c 4c 49 3e 77 68 69 74 |n.</LI>.|<LI>whit|
|00002d90| 65 20 28 64 65 66 61 75 | 6c 74 20 66 6f 72 65 67 |e (defau|lt foreg|
|00002da0| 72 6f 75 6e 64 29 0a 3c | 2f 4c 49 3e 0a 3c 2f 4f |round).<|/LI>.</O|
|00002db0| 4c 3e 0a 0a 3c 50 3e 0a | 26 23 31 38 34 3b 0a 3c |L>..<P>.|&#184;.<|
|00002dc0| 50 3e 0a 70 6c 63 6f 6e | 30 2c 20 70 6c 63 6f 6e |P>.plcon|0, plcon|
|00002dd0| 31 2c 20 70 6c 63 6f 6c | 2c 20 41 50 49 0a 0a 3c |1, plcol|, API..<|
|00002de0| 50 3e 0a 70 6c 63 6f 6e | 30 28 7a 2c 20 6e 78 2c |P>.plcon|0(z, nx,|
|00002df0| 20 6e 79 2c 20 6b 78 2c | 20 6c 78 2c 20 6b 79 2c | ny, kx,| lx, ky,|
|00002e00| 20 6c 79 2c 20 63 6c 65 | 76 65 6c 2c 20 6e 6c 65 | ly, cle|vel, nle|
|00002e10| 76 65 6c 29 0a 3c 41 20 | 49 44 3d 22 70 6c 63 6f |vel).<A |ID="plco|
|00002e20| 6e 30 22 3e 3c 2f 41 3e | 70 6c 63 6f 6e 30 0a 0a |n0"></A>|plcon0..|
|00002e30| 3c 50 3e 0a 44 72 61 77 | 73 20 61 20 63 6f 6e 74 |<P>.Draw|s a cont|
|00002e40| 6f 75 72 20 70 6c 6f 74 | 20 6f 66 20 74 68 65 20 |our plot| of the |
|00002e50| 64 61 74 61 20 69 6e 20 | 7a 5b 6e 78 5d 5b 6e 79 |data in |z[nx][ny|
|00002e60| 5d 2c 20 75 73 69 6e 67 | 20 74 68 65 0a 6e 6c 65 |], using| the.nle|
|00002e70| 76 65 6c 20 63 6f 6e 74 | 6f 75 72 20 6c 65 76 65 |vel cont|our leve|
|00002e80| 6c 73 20 73 70 65 63 69 | 66 69 65 64 20 62 79 20 |ls speci|fied by |
|00002e90| 63 6c 65 76 65 6c 2e 20 | 20 4f 6e 6c 79 20 74 68 |clevel. | Only th|
|00002ea0| 65 20 72 65 67 69 6f 6e | 0a 6f 66 20 74 68 65 20 |e region|.of the |
|00002eb0| 61 72 72 61 79 20 66 72 | 6f 6d 20 6b 78 20 74 6f |array fr|om kx to|
|00002ec0| 20 6c 78 20 61 6e 64 20 | 66 72 6f 6d 20 6b 79 20 | lx and |from ky |
|00002ed0| 74 6f 20 6c 79 0a 69 73 | 20 70 6c 6f 74 74 65 64 |to ly.is| plotted|
|00002ee0| 20 6f 75 74 2e 20 20 43 | 6f 6e 74 6f 75 72 20 70 | out. C|ontour p|
|00002ef0| 6c 6f 74 73 20 66 6f 72 | 20 6d 6f 72 65 20 69 6e |lots for| more in|
|00002f00| 66 6f 72 6d 61 74 69 6f | 6e 2e 0a 0a 3c 50 3e 0a |formatio|n...<P>.|
|00002f10| 7a 20 28 50 4c 46 4c 54 | 20 2a 2a 2c 20 69 6e 70 |z (PLFLT| **, inp|
|00002f20| 75 74 29 50 6f 69 6e 74 | 65 72 20 74 6f 20 61 20 |ut)Point|er to a |
|00002f30| 76 65 63 74 6f 72 65 64 | 20 74 77 6f 2d 64 69 6d |vectored| two-dim|
|00002f40| 65 6e 73 69 6f 6e 61 6c | 20 61 72 72 61 79 0a 63 |ensional| array.c|
|00002f50| 6f 6e 74 61 69 6e 69 6e | 67 20 64 61 74 61 20 74 |ontainin|g data t|
|00002f60| 6f 20 62 65 20 63 6f 6e | 74 6f 75 72 65 64 2e 0a |o be con|toured..|
|00002f70| 0a 3c 50 3e 0a 6e 78 2c | 20 6e 79 20 28 50 4c 49 |.<P>.nx,| ny (PLI|
|00002f80| 4e 54 2c 20 69 6e 70 75 | 74 29 50 68 79 73 69 63 |NT, inpu|t)Physic|
|00002f90| 61 6c 20 64 69 6d 65 6e | 73 69 6f 6e 73 20 6f 66 |al dimen|sions of|
|00002fa0| 20 61 72 72 61 79 20 7a | 2e 0a 0a 3c 50 3e 0a 6b | array z|...<P>.k|
|00002fb0| 78 2c 20 6c 78 20 28 50 | 4c 49 4e 54 2c 20 69 6e |x, lx (P|LINT, in|
|00002fc0| 70 75 74 29 52 61 6e 67 | 65 20 6f 66 20 78 20 69 |put)Rang|e of x i|
|00002fd0| 6e 64 69 63 69 65 73 20 | 74 6f 20 63 6f 6e 73 69 |ndicies |to consi|
|00002fe0| 64 65 72 2e 0a 0a 3c 50 | 3e 0a 6b 79 2c 20 6c 79 |der...<P|>.ky, ly|
|00002ff0| 20 28 50 4c 49 4e 54 2c | 20 69 6e 70 75 74 29 52 | (PLINT,| input)R|
|00003000| 61 6e 67 65 20 6f 66 20 | 79 20 69 6e 64 69 63 69 |ange of |y indici|
|00003010| 65 73 20 74 6f 20 63 6f | 6e 73 69 64 65 72 2e 0a |es to co|nsider..|
|00003020| 0a 3c 50 3e 0a 63 6c 65 | 76 65 6c 20 28 50 4c 46 |.<P>.cle|vel (PLF|
|00003030| 4c 54 20 2a 2c 20 69 6e | 70 75 74 29 50 6f 69 6e |LT *, in|put)Poin|
|00003040| 74 65 72 20 74 6f 20 61 | 72 72 61 79 20 73 70 65 |ter to a|rray spe|
|00003050| 63 69 66 79 69 6e 67 0a | 20 20 20 20 6c 65 76 65 |cifying.| leve|
|00003060| 6c 73 20 61 74 20 77 68 | 69 63 68 20 74 6f 20 64 |ls at wh|ich to d|
|00003070| 72 61 77 20 63 6f 6e 74 | 6f 75 72 73 2e 0a 0a 3c |raw cont|ours...<|
|00003080| 50 3e 0a 6e 6c 65 76 65 | 6c 20 28 50 4c 49 4e 54 |P>.nleve|l (PLINT|
|00003090| 2c 20 69 6e 70 75 74 29 | 4e 75 6d 62 65 72 20 6f |, input)|Number o|
|000030a0| 66 20 63 6f 6e 74 6f 75 | 72 20 6c 65 76 65 6c 73 |f contou|r levels|
|000030b0| 20 74 6f 20 64 72 61 77 | 2e 0a 0a 3c 50 3e 0a 4e | to draw|...<P>.N|
|000030c0| 4f 54 45 3a 20 74 68 69 | 73 20 66 75 6e 63 74 69 |OTE: thi|s functi|
|000030d0| 6f 6e 20 69 73 20 69 6e | 74 65 6e 64 65 64 20 66 |on is in|tended f|
|000030e0| 6f 72 20 75 73 65 20 66 | 72 6f 6d 20 61 20 46 6f |or use f|rom a Fo|
|000030f0| 72 74 72 61 6e 20 63 61 | 6c 6c 65 72 20 6f 6e 6c |rtran ca|ller onl|
|00003100| 79 2e 20 20 54 68 65 20 | 43 0a 75 73 65 72 20 73 |y. The |C.user s|
|00003110| 68 6f 75 6c 64 20 69 6e | 73 74 65 61 64 20 63 61 |hould in|stead ca|
|00003120| 6c 6c 20 70 6c 63 6f 6e | 74 20 75 73 69 6e 67 20 |ll plcon|t using |
|00003130| 74 68 65 20 62 75 69 6c | 74 2d 69 6e 20 74 72 61 |the buil|t-in tra|
|00003140| 6e 73 66 6f 72 6d 61 74 | 69 6f 6e 0a 66 75 6e 63 |nsformat|ion.func|
|00003150| 74 69 6f 6e 20 70 6c 74 | 72 30 20 66 6f 72 20 74 |tion plt|r0 for t|
|00003160| 68 65 20 73 61 6d 65 20 | 63 61 70 61 62 69 6c 69 |he same |capabili|
|00003170| 74 79 2e 20 0a 0a 3c 50 | 3e 0a 26 23 31 38 34 3b |ty. ..<P|>.&#184;|
|00003180| 0a 3c 50 3e 0a 70 6c 63 | 6f 6e 31 2c 20 70 6c 63 |.<P>.plc|on1, plc|
|00003190| 6f 6e 32 2c 20 70 6c 63 | 6f 6e 30 2c 20 41 50 49 |on2, plc|on0, API|
|000031a0| 0a 0a 3c 50 3e 0a 70 6c | 63 6f 6e 31 28 7a 2c 20 |..<P>.pl|con1(z, |
|000031b0| 6e 78 2c 20 6e 79 2c 20 | 6b 78 2c 20 6c 78 2c 20 |nx, ny, |kx, lx, |
|000031c0| 6b 79 2c 20 6c 79 2c 20 | 63 6c 65 76 65 6c 2c 20 |ky, ly, |clevel, |
|000031d0| 6e 6c 65 76 65 6c 2c 20 | 78 67 2c 20 79 67 29 0a |nlevel, |xg, yg).|
|000031e0| 3c 41 20 49 44 3d 22 70 | 6c 63 6f 6e 31 22 3e 3c |<A ID="p|lcon1"><|
|000031f0| 2f 41 3e 70 6c 63 6f 6e | 31 0a 0a 3c 50 3e 0a 44 |/A>plcon|1..<P>.D|
|00003200| 72 61 77 73 20 61 20 63 | 6f 6e 74 6f 75 72 20 70 |raws a c|ontour p|
|00003210| 6c 6f 74 20 6f 66 20 74 | 68 65 20 64 61 74 61 20 |lot of t|he data |
|00003220| 69 6e 20 7a 5b 6e 78 5d | 5b 6e 79 5d 2c 20 75 73 |in z[nx]|[ny], us|
|00003230| 69 6e 67 20 74 68 65 0a | 6e 6c 65 76 65 6c 20 63 |ing the.|nlevel c|
|00003240| 6f 6e 74 6f 75 72 20 6c | 65 76 65 6c 73 20 73 70 |ontour l|evels sp|
|00003250| 65 63 69 66 69 65 64 20 | 62 79 20 63 6c 65 76 65 |ecified |by cleve|
|00003260| 6c 2e 20 20 4f 6e 6c 79 | 20 74 68 65 20 72 65 67 |l. Only| the reg|
|00003270| 69 6f 6e 0a 6f 66 20 74 | 68 65 20 61 72 72 61 79 |ion.of t|he array|
|00003280| 20 66 72 6f 6d 20 6b 78 | 20 74 6f 20 6c 78 20 61 | from kx| to lx a|
|00003290| 6e 64 20 66 72 6f 6d 20 | 6b 79 20 74 6f 20 6c 79 |nd from |ky to ly|
|000032a0| 0a 69 73 20 70 6c 6f 74 | 74 65 64 20 6f 75 74 2e |.is plot|ted out.|
|000032b0| 20 20 54 68 65 20 61 72 | 72 61 79 73 20 78 67 20 | The ar|rays xg |
|000032c0| 61 6e 64 20 79 67 20 61 | 72 65 20 75 73 65 64 20 |and yg a|re used |
|000032d0| 74 6f 20 73 70 65 63 69 | 66 79 0a 74 68 65 20 74 |to speci|fy.the t|
|000032e0| 72 61 6e 73 66 6f 72 6d | 61 74 69 6f 6e 20 62 65 |ransform|ation be|
|000032f0| 74 77 65 65 6e 20 61 72 | 72 61 79 20 69 6e 64 69 |tween ar|ray indi|
|00003300| 63 65 73 20 61 6e 64 20 | 77 6f 72 6c 64 20 63 6f |ces and |world co|
|00003310| 6f 72 64 69 6e 61 74 65 | 73 2e 20 20 0a 43 6f 6e |ordinate|s. .Con|
|00003320| 74 6f 75 72 20 70 6c 6f | 74 73 20 66 6f 72 20 6d |tour plo|ts for m|
|00003330| 6f 72 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 2e |ore info|rmation.|
|00003340| 0a 0a 3c 50 3e 0a 7a 20 | 28 50 4c 46 4c 54 20 2a |..<P>.z |(PLFLT *|
|00003350| 2a 2c 20 69 6e 70 75 74 | 29 50 6f 69 6e 74 65 72 |*, input|)Pointer|
|00003360| 20 74 6f 20 61 20 76 65 | 63 74 6f 72 65 64 20 74 | to a ve|ctored t|
|00003370| 77 6f 2d 64 69 6d 65 6e | 73 69 6f 6e 61 6c 20 61 |wo-dimen|sional a|
|00003380| 72 72 61 79 0a 63 6f 6e | 74 61 69 6e 69 6e 67 20 |rray.con|taining |
|00003390| 64 61 74 61 20 74 6f 20 | 62 65 20 63 6f 6e 74 6f |data to |be conto|
|000033a0| 75 72 65 64 2e 0a 0a 3c | 50 3e 0a 6e 78 2c 20 6e |ured...<|P>.nx, n|
|000033b0| 79 20 28 50 4c 49 4e 54 | 2c 20 69 6e 70 75 74 29 |y (PLINT|, input)|
|000033c0| 50 68 79 73 69 63 61 6c | 20 64 69 6d 65 6e 73 69 |Physical| dimensi|
|000033d0| 6f 6e 73 20 6f 66 20 61 | 72 72 61 79 20 7a 2e 0a |ons of a|rray z..|
|000033e0| 0a 3c 50 3e 0a 6b 78 2c | 20 6c 78 20 28 50 4c 49 |.<P>.kx,| lx (PLI|
|000033f0| 4e 54 2c 20 69 6e 70 75 | 74 29 52 61 6e 67 65 20 |NT, inpu|t)Range |
|00003400| 6f 66 20 78 20 69 6e 64 | 69 63 69 65 73 20 74 6f |of x ind|icies to|
|00003410| 20 63 6f 6e 73 69 64 65 | 72 2e 0a 0a 3c 50 3e 0a | conside|r...<P>.|
|00003420| 6b 79 2c 20 6c 79 20 28 | 50 4c 49 4e 54 2c 20 69 |ky, ly (|PLINT, i|
|00003430| 6e 70 75 74 29 52 61 6e | 67 65 20 6f 66 20 79 20 |nput)Ran|ge of y |
|00003440| 69 6e 64 69 63 69 65 73 | 20 74 6f 20 63 6f 6e 73 |indicies| to cons|
|00003450| 69 64 65 72 2e 0a 0a 3c | 50 3e 0a 63 6c 65 76 65 |ider...<|P>.cleve|
|00003460| 6c 20 28 50 4c 46 4c 54 | 20 2a 2c 20 69 6e 70 75 |l (PLFLT| *, inpu|
|00003470| 74 29 50 6f 69 6e 74 65 | 72 20 74 6f 20 61 72 72 |t)Pointe|r to arr|
|00003480| 61 79 20 73 70 65 63 69 | 66 79 69 6e 67 0a 6c 65 |ay speci|fying.le|
|00003490| 76 65 6c 73 20 61 74 20 | 77 68 69 63 68 20 74 6f |vels at |which to|
|000034a0| 20 64 72 61 77 20 63 6f | 6e 74 6f 75 72 73 2e 0a | draw co|ntours..|
|000034b0| 0a 3c 50 3e 0a 6e 6c 65 | 76 65 6c 20 28 50 4c 49 |.<P>.nle|vel (PLI|
|000034c0| 4e 54 2c 20 69 6e 70 75 | 74 29 4e 75 6d 62 65 72 |NT, inpu|t)Number|
|000034d0| 20 6f 66 20 63 6f 6e 74 | 6f 75 72 20 6c 65 76 65 | of cont|our leve|
|000034e0| 6c 73 20 74 6f 20 64 72 | 61 77 2e 0a 0a 3c 50 3e |ls to dr|aw...<P>|
|000034f0| 0a 78 67 2c 20 79 67 20 | 28 50 4c 46 4c 54 20 2a |.xg, yg |(PLFLT *|
|00003500| 2c 20 69 6e 70 75 74 29 | 50 6f 69 6e 74 65 72 73 |, input)|Pointers|
|00003510| 20 74 6f 20 61 72 72 61 | 79 73 20 77 68 69 63 68 | to arra|ys which|
|00003520| 20 73 70 65 63 69 66 79 | 20 74 68 65 0a 74 72 61 | specify| the.tra|
|00003530| 6e 73 66 6f 72 6d 61 74 | 69 6f 6e 20 66 72 6f 6d |nsformat|ion from|
|00003540| 20 61 72 72 61 79 20 69 | 6e 64 69 63 65 73 20 74 | array i|ndices t|
|00003550| 6f 20 77 6f 72 6c 64 20 | 63 6f 6f 72 64 69 6e 61 |o world |coordina|
|00003560| 74 65 73 2e 20 20 54 68 | 65 73 65 20 6d 75 73 74 |tes. Th|ese must|
|00003570| 20 62 65 0a 6f 6e 65 2d | 64 69 6d 65 6e 73 69 6f | be.one-|dimensio|
|00003580| 6e 61 6c 20 61 72 72 61 | 79 73 2c 20 75 73 65 64 |nal arra|ys, used|
|00003590| 20 66 6f 72 20 61 20 74 | 72 61 6e 73 66 6f 72 6d | for a t|ransform|
|000035a0| 61 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 66 6f 72 |ation of| the for|
|000035b0| 6d 3a 0a 74 78 3d 66 28 | 78 29 2c 20 74 79 3d 66 |m:.tx=f(|x), ty=f|
|000035c0| 28 79 29 2e 20 20 46 75 | 6e 63 74 69 6f 6e 20 76 |(y). Fu|nction v|
|000035d0| 61 6c 75 65 73 20 61 74 | 20 6c 6f 63 61 74 69 6f |alues at| locatio|
|000035e0| 6e 73 20 62 65 74 77 65 | 65 6e 20 67 72 69 64 0a |ns betwe|en grid.|
|000035f0| 70 6f 69 6e 74 73 20 61 | 72 65 20 6f 62 74 61 69 |points a|re obtai|
|00003600| 6e 65 64 20 76 69 61 20 | 6c 69 6e 65 61 72 20 69 |ned via |linear i|
|00003610| 6e 74 65 72 70 6f 6c 61 | 74 69 6f 6e 2e 20 0a 0a |nterpola|tion. ..|
|00003620| 3c 50 3e 0a 4e 4f 54 45 | 3a 20 74 68 69 73 20 66 |<P>.NOTE|: this f|
|00003630| 75 6e 63 74 69 6f 6e 20 | 69 73 20 69 6e 74 65 6e |unction |is inten|
|00003640| 64 65 64 20 66 6f 72 20 | 75 73 65 20 66 72 6f 6d |ded for |use from|
|00003650| 20 61 20 46 6f 72 74 72 | 61 6e 20 63 61 6c 6c 65 | a Fortr|an calle|
|00003660| 72 20 6f 6e 6c 79 2e 20 | 20 54 68 65 20 43 0a 75 |r only. | The C.u|
|00003670| 73 65 72 20 73 68 6f 75 | 6c 64 20 69 6e 73 74 65 |ser shou|ld inste|
|00003680| 61 64 20 63 61 6c 6c 20 | 70 6c 63 6f 6e 66 20 75 |ad call |plconf u|
|00003690| 73 69 6e 67 20 74 68 65 | 20 62 75 69 6c 74 2d 69 |sing the| built-i|
|000036a0| 6e 20 74 72 61 6e 73 66 | 6f 72 6d 61 74 69 6f 6e |n transf|ormation|
|000036b0| 0a 66 75 6e 63 74 69 6f | 6e 20 70 6c 74 72 31 20 |.functio|n pltr1 |
|000036c0| 66 6f 72 20 74 68 65 20 | 73 61 6d 65 20 63 61 70 |for the |same cap|
|000036d0| 61 62 69 6c 69 74 79 2e | 20 0a 0a 3c 50 3e 0a 26 |ability.| ..<P>.&|
|000036e0| 23 31 38 34 3b 0a 3c 50 | 3e 0a 70 6c 63 6f 6e 32 |#184;.<P|>.plcon2|
|000036f0| 2c 20 70 6c 63 6f 6e 66 | 2c 20 70 6c 63 6f 6e 31 |, plconf|, plcon1|
|00003700| 2c 20 41 50 49 0a 0a 3c | 50 3e 0a 70 6c 63 6f 6e |, API..<|P>.plcon|
|00003710| 32 28 7a 2c 20 6e 78 2c | 20 6e 79 2c 20 6b 78 2c |2(z, nx,| ny, kx,|
|00003720| 20 6c 78 2c 20 6b 79 2c | 20 6c 79 2c 20 63 6c 65 | lx, ky,| ly, cle|
|00003730| 76 65 6c 2c 20 6e 6c 65 | 76 65 6c 2c 20 78 67 2c |vel, nle|vel, xg,|
|00003740| 20 79 67 29 0a 3c 41 20 | 49 44 3d 22 70 6c 63 6f | yg).<A |ID="plco|
|00003750| 6e 32 22 3e 3c 2f 41 3e | 70 6c 63 6f 6e 32 0a 0a |n2"></A>|plcon2..|
|00003760| 3c 50 3e 0a 44 72 61 77 | 73 20 61 20 63 6f 6e 74 |<P>.Draw|s a cont|
|00003770| 6f 75 72 20 70 6c 6f 74 | 20 6f 66 20 74 68 65 20 |our plot| of the |
|00003780| 64 61 74 61 20 69 6e 20 | 7a 5b 6e 78 5d 5b 6e 79 |data in |z[nx][ny|
|00003790| 5d 2c 20 75 73 69 6e 67 | 20 74 68 65 0a 6e 6c 65 |], using| the.nle|
|000037a0| 76 65 6c 20 63 6f 6e 74 | 6f 75 72 20 6c 65 76 65 |vel cont|our leve|
|000037b0| 6c 73 20 73 70 65 63 69 | 66 69 65 64 20 62 79 20 |ls speci|fied by |
|000037c0| 63 6c 65 76 65 6c 2e 20 | 20 4f 6e 6c 79 20 74 68 |clevel. | Only th|
|000037d0| 65 20 72 65 67 69 6f 6e | 0a 6f 66 20 74 68 65 20 |e region|.of the |
|000037e0| 61 72 72 61 79 20 66 72 | 6f 6d 20 6b 78 20 74 6f |array fr|om kx to|
|000037f0| 20 6c 78 20 61 6e 64 20 | 66 72 6f 6d 20 6b 79 20 | lx and |from ky |
|00003800| 74 6f 20 6c 79 0a 69 73 | 20 70 6c 6f 74 74 65 64 |to ly.is| plotted|
|00003810| 20 6f 75 74 2e 20 20 54 | 68 65 20 61 72 72 61 79 | out. T|he array|
|00003820| 73 20 78 67 20 61 6e 64 | 20 79 67 20 61 72 65 20 |s xg and| yg are |
|00003830| 75 73 65 64 20 74 6f 20 | 73 70 65 63 69 66 79 0a |used to |specify.|
|00003840| 74 68 65 20 74 72 61 6e | 73 66 6f 72 6d 61 74 69 |the tran|sformati|
|00003850| 6f 6e 20 62 65 74 77 65 | 65 6e 20 61 72 72 61 79 |on betwe|en array|
|00003860| 20 69 6e 64 69 63 65 73 | 20 61 6e 64 20 77 6f 72 | indices| and wor|
|00003870| 6c 64 20 63 6f 6f 72 64 | 69 6e 61 74 65 73 2e 20 |ld coord|inates. |
|00003880| 20 0a 43 6f 6e 74 6f 75 | 72 20 70 6c 6f 74 73 20 | .Contou|r plots |
|00003890| 66 6f 72 20 6d 6f 72 65 | 20 69 6e 66 6f 72 6d 61 |for more| informa|
|000038a0| 74 69 6f 6e 2e 0a 0a 3c | 50 3e 0a 7a 20 28 50 4c |tion...<|P>.z (PL|
|000038b0| 46 4c 54 20 2a 2a 2c 20 | 69 6e 70 75 74 29 50 6f |FLT **, |input)Po|
|000038c0| 69 6e 74 65 72 20 74 6f | 20 61 20 76 65 63 74 6f |inter to| a vecto|
|000038d0| 72 65 64 20 74 77 6f 2d | 64 69 6d 65 6e 73 69 6f |red two-|dimensio|
|000038e0| 6e 61 6c 20 61 72 72 61 | 79 0a 63 6f 6e 74 61 69 |nal arra|y.contai|
|000038f0| 6e 69 6e 67 20 64 61 74 | 61 20 74 6f 20 62 65 20 |ning dat|a to be |
|00003900| 63 6f 6e 74 6f 75 72 65 | 64 2e 0a 0a 3c 50 3e 0a |contoure|d...<P>.|
|00003910| 6e 78 2c 20 6e 79 20 28 | 50 4c 49 4e 54 2c 20 69 |nx, ny (|PLINT, i|
|00003920| 6e 70 75 74 29 50 68 79 | 73 69 63 61 6c 20 64 69 |nput)Phy|sical di|
|00003930| 6d 65 6e 73 69 6f 6e 73 | 20 6f 66 20 61 72 72 61 |mensions| of arra|
|00003940| 79 20 7a 2e 0a 0a 3c 50 | 3e 0a 6b 78 2c 20 6c 78 |y z...<P|>.kx, lx|
|00003950| 20 28 50 4c 49 4e 54 2c | 20 69 6e 70 75 74 29 52 | (PLINT,| input)R|
|00003960| 61 6e 67 65 20 6f 66 20 | 78 20 69 6e 64 69 63 69 |ange of |x indici|
|00003970| 65 73 20 74 6f 20 63 6f | 6e 73 69 64 65 72 2e 0a |es to co|nsider..|
|00003980| 0a 3c 50 3e 0a 6b 79 2c | 20 6c 79 20 28 50 4c 49 |.<P>.ky,| ly (PLI|
|00003990| 4e 54 2c 20 69 6e 70 75 | 74 29 52 61 6e 67 65 20 |NT, inpu|t)Range |
|000039a0| 6f 66 20 79 20 69 6e 64 | 69 63 69 65 73 20 74 6f |of y ind|icies to|
|000039b0| 20 63 6f 6e 73 69 64 65 | 72 2e 0a 0a 3c 50 3e 0a | conside|r...<P>.|
|000039c0| 63 6c 65 76 65 6c 20 28 | 50 4c 46 4c 54 20 2a 2c |clevel (|PLFLT *,|
|000039d0| 20 69 6e 70 75 74 29 50 | 6f 69 6e 74 65 72 20 74 | input)P|ointer t|
|000039e0| 6f 20 61 72 72 61 79 20 | 73 70 65 63 69 66 79 69 |o array |specifyi|
|000039f0| 6e 67 0a 20 20 20 20 6c | 65 76 65 6c 73 20 61 74 |ng. l|evels at|
|00003a00| 20 77 68 69 63 68 20 74 | 6f 20 64 72 61 77 20 63 | which t|o draw c|
|00003a10| 6f 6e 74 6f 75 72 73 2e | 0a 0a 3c 50 3e 0a 6e 6c |ontours.|..<P>.nl|
|00003a20| 65 76 65 6c 20 28 50 4c | 49 4e 54 2c 20 69 6e 70 |evel (PL|INT, inp|
|00003a30| 75 74 29 4e 75 6d 62 65 | 72 20 6f 66 20 63 6f 6e |ut)Numbe|r of con|
|00003a40| 74 6f 75 72 20 6c 65 76 | 65 6c 73 20 74 6f 20 64 |tour lev|els to d|
|00003a50| 72 61 77 2e 0a 0a 3c 50 | 3e 0a 78 67 2c 20 79 67 |raw...<P|>.xg, yg|
|00003a60| 20 28 50 4c 46 4c 54 20 | 2a 2c 20 69 6e 70 75 74 | (PLFLT |*, input|
|00003a70| 29 50 6f 69 6e 74 65 72 | 73 20 74 6f 20 61 72 72 |)Pointer|s to arr|
|00003a80| 61 79 73 20 77 68 69 63 | 68 20 73 70 65 63 69 66 |ays whic|h specif|
|00003a90| 79 20 74 68 65 0a 74 72 | 61 6e 73 66 6f 72 6d 61 |y the.tr|ansforma|
|00003aa0| 74 69 6f 6e 20 66 72 6f | 6d 20 61 72 72 61 79 20 |tion fro|m array |
|00003ab0| 69 6e 64 69 63 65 73 20 | 74 6f 20 77 6f 72 6c 64 |indices |to world|
|00003ac0| 20 63 6f 6f 72 64 69 6e | 61 74 65 73 2e 20 20 54 | coordin|ates. T|
|00003ad0| 68 65 73 65 20 6d 75 73 | 74 20 62 65 0a 74 77 6f |hese mus|t be.two|
|00003ae0| 2d 64 69 6d 65 6e 73 69 | 6f 6e 61 6c 20 61 72 72 |-dimensi|onal arr|
|00003af0| 61 79 73 2c 20 75 73 65 | 64 20 66 6f 72 20 61 20 |ays, use|d for a |
|00003b00| 74 72 61 6e 73 66 6f 72 | 6d 61 74 69 6f 6e 20 6f |transfor|mation o|
|00003b10| 66 20 74 68 65 20 66 6f | 72 6d 3a 0a 74 78 3d 66 |f the fo|rm:.tx=f|
|00003b20| 28 78 2c 20 79 29 2c 20 | 74 79 3d 66 28 78 2c 20 |(x, y), |ty=f(x, |
|00003b30| 79 29 2e 20 20 46 75 6e | 63 74 69 6f 6e 20 76 61 |y). Fun|ction va|
|00003b40| 6c 75 65 73 20 61 74 20 | 6c 6f 63 61 74 69 6f 6e |lues at |location|
|00003b50| 73 20 62 65 74 77 65 65 | 6e 0a 67 72 69 64 20 70 |s betwee|n.grid p|
|00003b60| 6f 69 6e 74 73 20 61 72 | 65 20 6f 62 74 61 69 6e |oints ar|e obtain|
|00003b70| 65 64 20 76 69 61 20 6c | 69 6e 65 61 72 20 69 6e |ed via l|inear in|
|00003b80| 74 65 72 70 6f 6c 61 74 | 69 6f 6e 2e 0a 0a 3c 50 |terpolat|ion...<P|
|00003b90| 3e 0a 4e 4f 54 45 3a 20 | 74 68 69 73 20 66 75 6e |>.NOTE: |this fun|
|00003ba0| 63 74 69 6f 6e 20 69 73 | 20 69 6e 74 65 6e 64 65 |ction is| intende|
|00003bb0| 64 20 66 6f 72 20 75 73 | 65 20 66 72 6f 6d 20 61 |d for us|e from a|
|00003bc0| 20 46 6f 72 74 72 61 6e | 20 63 61 6c 6c 65 72 20 | Fortran| caller |
|00003bd0| 6f 6e 6c 79 2e 20 20 54 | 68 65 20 43 0a 75 73 65 |only. T|he C.use|
|00003be0| 72 20 73 68 6f 75 6c 64 | 20 69 6e 73 74 65 61 64 |r should| instead|
|00003bf0| 20 63 61 6c 6c 20 70 6c | 63 6f 6e 66 20 75 73 69 | call pl|conf usi|
|00003c00| 6e 67 20 74 68 65 20 62 | 75 69 6c 74 2d 69 6e 20 |ng the b|uilt-in |
|00003c10| 74 72 61 6e 73 66 6f 72 | 6d 61 74 69 6f 6e 0a 66 |transfor|mation.f|
|00003c20| 75 6e 63 74 69 6f 6e 20 | 70 6c 74 72 32 20 66 6f |unction |pltr2 fo|
|00003c30| 72 20 74 68 65 20 73 61 | 6d 65 20 63 61 70 61 62 |r the sa|me capab|
|00003c40| 69 6c 69 74 79 2e 20 0a | 0a 3c 50 3e 0a 26 23 31 |ility. .|.<P>.&#1|
|00003c50| 38 34 3b 0a 3c 50 3e 0a | 70 6c 63 6f 6e 66 2c 20 |84;.<P>.|plconf, |
|00003c60| 70 6c 63 6f 6e 74 2c 20 | 70 6c 63 6f 6e 32 2c 20 |plcont, |plcon2, |
|00003c70| 41 50 49 0a 0a 3c 50 3e | 0a 70 6c 63 6f 6e 66 28 |API..<P>|.plconf(|
|00003c80| 7a 2c 20 6e 78 2c 20 6e | 79 2c 20 6b 78 2c 20 6c |z, nx, n|y, kx, l|
|00003c90| 78 2c 20 6b 79 2c 20 6c | 79 2c 20 63 6c 65 76 65 |x, ky, l|y, cleve|
|00003ca0| 6c 2c 20 6e 6c 65 76 65 | 6c 2c 20 70 6c 74 72 2c |l, nleve|l, pltr,|
|00003cb0| 20 78 67 2c 20 79 67 29 | 0a 3c 41 20 49 44 3d 22 | xg, yg)|.<A ID="|
|00003cc0| 70 6c 63 6f 6e 66 22 3e | 3c 2f 41 3e 70 6c 63 6f |plconf">|</A>plco|
|00003cd0| 6e 66 0a 0a 3c 50 3e 0a | 44 72 61 77 73 20 61 20 |nf..<P>.|Draws a |
|00003ce0| 63 6f 6e 74 6f 75 72 20 | 70 6c 6f 74 20 6f 66 20 |contour |plot of |
|00003cf0| 74 68 65 20 64 61 74 61 | 20 69 6e 20 7a 5b 6e 78 |the data| in z[nx|
|00003d00| 5d 5b 6e 79 5d 2c 20 75 | 73 69 6e 67 20 74 68 65 |][ny], u|sing the|
|00003d10| 0a 6e 6c 65 76 65 6c 20 | 63 6f 6e 74 6f 75 72 20 |.nlevel |contour |
|00003d20| 6c 65 76 65 6c 73 20 73 | 70 65 63 69 66 69 65 64 |levels s|pecified|
|00003d30| 20 62 79 20 63 6c 65 76 | 65 6c 2e 20 20 4f 6e 6c | by clev|el. Onl|
|00003d40| 79 20 74 68 65 20 72 65 | 67 69 6f 6e 0a 6f 66 20 |y the re|gion.of |
|00003d50| 74 68 65 20 61 72 72 61 | 79 20 66 72 6f 6d 20 6b |the arra|y from k|
|00003d60| 78 20 74 6f 20 6c 78 20 | 61 6e 64 20 66 72 6f 6d |x to lx |and from|
|00003d70| 20 6b 79 20 74 6f 20 6c | 79 0a 69 73 20 70 6c 6f | ky to l|y.is plo|
|00003d80| 74 74 65 64 20 6f 75 74 | 2e 20 20 41 20 74 72 61 |tted out|. A tra|
|00003d90| 6e 73 66 6f 72 6d 61 74 | 69 6f 6e 20 72 6f 75 74 |nsformat|ion rout|
|00003da0| 69 6e 65 20 70 6c 74 72 | 20 69 73 20 75 73 65 64 |ine pltr| is used|
|00003db0| 20 74 6f 20 6d 61 70 0a | 69 6e 64 69 63 69 65 73 | to map.|indicies|
|00003dc0| 20 77 69 74 68 69 6e 20 | 74 68 65 20 61 72 72 61 | within |the arra|
|00003dd0| 79 20 74 6f 20 74 68 65 | 20 77 6f 72 6c 64 20 63 |y to the| world c|
|00003de0| 6f 6f 72 64 69 6e 61 74 | 65 73 2c 20 75 73 69 6e |oordinat|es, usin|
|00003df0| 67 20 74 68 65 0a 74 72 | 61 6e 73 66 6f 72 6d 61 |g the.tr|ansforma|
|00003e00| 74 69 6f 6e 20 61 72 72 | 61 79 73 20 78 67 20 61 |tion arr|ays xg a|
|00003e10| 6e 64 20 79 67 2e 20 20 | 43 6f 6e 74 6f 75 72 20 |nd yg. |Contour |
|00003e20| 70 6c 6f 74 73 20 66 6f | 72 0a 6d 6f 72 65 20 69 |plots fo|r.more i|
|00003e30| 6e 66 6f 72 6d 61 74 69 | 6f 6e 2e 0a 0a 3c 50 3e |nformati|on...<P>|
|00003e40| 0a 7a 20 28 50 4c 46 4c | 54 20 2a 2a 2c 20 69 6e |.z (PLFL|T **, in|
|00003e50| 70 75 74 29 50 6f 69 6e | 74 65 72 20 74 6f 20 61 |put)Poin|ter to a|
|00003e60| 20 76 65 63 74 6f 72 65 | 64 20 74 77 6f 2d 64 69 | vectore|d two-di|
|00003e70| 6d 65 6e 73 69 6f 6e 61 | 6c 20 61 72 72 61 79 0a |mensiona|l array.|
|00003e80| 63 6f 6e 74 61 69 6e 69 | 6e 67 20 64 61 74 61 20 |containi|ng data |
|00003e90| 74 6f 20 62 65 20 63 6f | 6e 74 6f 75 72 65 64 2e |to be co|ntoured.|
|00003ea0| 0a 0a 3c 50 3e 0a 6e 78 | 2c 20 6e 79 20 28 50 4c |..<P>.nx|, ny (PL|
|00003eb0| 49 4e 54 2c 20 69 6e 70 | 75 74 29 50 68 79 73 69 |INT, inp|ut)Physi|
|00003ec0| 63 61 6c 20 64 69 6d 65 | 6e 73 69 6f 6e 73 20 6f |cal dime|nsions o|
|00003ed0| 66 20 61 72 72 61 79 20 | 7a 2e 0a 0a 3c 50 3e 0a |f array |z...<P>.|
|00003ee0| 6b 78 2c 20 6c 78 20 28 | 50 4c 49 4e 54 2c 20 69 |kx, lx (|PLINT, i|
|00003ef0| 6e 70 75 74 29 52 61 6e | 67 65 20 6f 66 20 78 20 |nput)Ran|ge of x |
|00003f00| 69 6e 64 69 63 69 65 73 | 20 74 6f 20 63 6f 6e 73 |indicies| to cons|
|00003f10| 69 64 65 72 2e 0a 0a 3c | 50 3e 0a 6b 79 2c 20 6c |ider...<|P>.ky, l|
|00003f20| 79 20 28 50 4c 49 4e 54 | 2c 20 69 6e 70 75 74 29 |y (PLINT|, input)|
|00003f30| 52 61 6e 67 65 20 6f 66 | 20 79 20 69 6e 64 69 63 |Range of| y indic|
|00003f40| 69 65 73 20 74 6f 20 63 | 6f 6e 73 69 64 65 72 2e |ies to c|onsider.|
|00003f50| 0a 0a 3c 50 3e 0a 63 6c | 65 76 65 6c 20 28 50 4c |..<P>.cl|evel (PL|
|00003f60| 46 4c 54 20 2a 2c 20 69 | 6e 70 75 74 29 50 6f 69 |FLT *, i|nput)Poi|
|00003f70| 6e 74 65 72 20 74 6f 20 | 61 72 72 61 79 20 73 70 |nter to |array sp|
|00003f80| 65 63 69 66 79 69 6e 67 | 0a 20 20 20 20 6c 65 76 |ecifying|. lev|
|00003f90| 65 6c 73 20 61 74 20 77 | 68 69 63 68 20 74 6f 20 |els at w|hich to |
|00003fa0| 64 72 61 77 20 63 6f 6e | 74 6f 75 72 73 2e 0a 0a |draw con|tours...|
|00003fb0| 3c 50 3e 0a 6e 6c 65 76 | 65 6c 20 28 50 4c 49 4e |<P>.nlev|el (PLIN|
|00003fc0| 54 2c 20 69 6e 70 75 74 | 29 4e 75 6d 62 65 72 20 |T, input|)Number |
|00003fd0| 6f 66 20 63 6f 6e 74 6f | 75 72 20 6c 65 76 65 6c |of conto|ur level|
|00003fe0| 73 20 74 6f 20 64 72 61 | 77 2e 0a 0a 3c 50 3e 0a |s to dra|w...<P>.|
|00003ff0| 70 6c 74 72 20 28 76 6f | 69 64 20 2a 2c 20 69 6e |pltr (vo|id *, in|
|00004000| 70 75 74 29 50 6f 69 6e | 74 65 72 20 74 6f 20 66 |put)Poin|ter to f|
|00004010| 75 6e 63 74 69 6f 6e 20 | 74 68 61 74 20 64 65 66 |unction |that def|
|00004020| 69 6e 65 73 0a 74 72 61 | 6e 73 66 6f 72 6d 61 74 |ines.tra|nsformat|
|00004030| 69 6f 6e 20 62 65 74 77 | 65 65 6e 20 69 6e 64 69 |ion betw|een indi|
|00004040| 63 69 65 73 20 69 6e 20 | 61 72 72 61 79 20 7a 20 |cies in |array z |
|00004050| 61 6e 64 20 74 68 65 20 | 77 6f 72 6c 64 20 63 6f |and the |world co|
|00004060| 6f 72 64 69 6e 61 74 65 | 73 2e 0a 54 68 65 20 66 |ordinate|s..The f|
|00004070| 75 6e 63 74 69 6f 6e 20 | 73 68 6f 75 6c 64 20 68 |unction |should h|
|00004080| 61 76 65 20 74 68 65 20 | 66 6f 72 6d 20 70 6c 74 |ave the |form plt|
|00004090| 72 28 78 2c 20 79 2c 20 | 74 78 2c 20 74 79 2c 20 |r(x, y, |tx, ty, |
|000040a0| 78 67 2c 20 79 67 2c 20 | 6e 78 2c 20 6e 79 29 0a |xg, yg, |nx, ny).|
|000040b0| 0a 3c 50 3e 0a 78 2c 20 | 79 20 28 50 4c 46 4c 54 |.<P>.x, |y (PLFLT|
|000040c0| 2c 20 69 6e 70 75 74 29 | 20 53 70 65 63 69 66 69 |, input)| Specifi|
|000040d0| 65 73 20 74 68 65 20 70 | 6f 73 69 74 69 6f 6e 20 |es the p|osition |
|000040e0| 69 6e 20 74 68 65 20 61 | 72 72 61 79 20 74 68 72 |in the a|rray thr|
|000040f0| 6f 75 67 68 0a 77 68 69 | 63 68 20 74 68 65 20 63 |ough.whi|ch the c|
|00004100| 6f 6e 74 6f 75 72 20 72 | 75 6e 73 20 69 6e 20 74 |ontour r|uns in t|
|00004110| 65 72 6d 73 20 6f 66 20 | 74 68 65 20 61 72 72 61 |erms of |the arra|
|00004120| 79 20 69 6e 64 69 63 69 | 65 73 2e 0a 0a 3c 50 3e |y indici|es...<P>|
|00004130| 0a 74 78 2c 20 74 79 20 | 28 50 4c 46 4c 54 20 2a |.tx, ty |(PLFLT *|
|00004140| 2c 20 6f 75 74 70 75 74 | 29 50 6f 69 6e 74 65 72 |, output|)Pointer|
|00004150| 73 20 74 6f 20 74 68 65 | 0a 77 6f 72 6c 64 20 63 |s to the|.world c|
|00004160| 6f 6f 72 64 69 6e 61 74 | 65 73 20 63 6f 72 72 65 |oordinat|es corre|
|00004170| 73 70 6f 6e 64 69 6e 67 | 20 74 6f 20 74 68 65 20 |sponding| to the |
|00004180| 70 6f 69 6e 74 20 28 78 | 2c 20 79 29 2e 0a 0a 3c |point (x|, y)...<|
|00004190| 50 3e 0a 78 67 2c 20 79 | 67 20 28 50 4c 46 4c 54 |P>.xg, y|g (PLFLT|
|000041a0| 20 2a 2c 20 69 6e 70 75 | 74 29 50 6f 69 6e 74 65 | *, inpu|t)Pointe|
|000041b0| 72 73 20 74 6f 20 74 72 | 61 6e 73 66 6f 72 6d 61 |rs to tr|ansforma|
|000041c0| 74 69 6f 6e 20 61 72 72 | 61 79 73 2e 0a 0a 3c 50 |tion arr|ays...<P|
|000041d0| 3e 0a 6e 78 2c 20 6e 79 | 20 28 50 4c 49 4e 54 2c |>.nx, ny| (PLINT,|
|000041e0| 20 69 6e 70 75 74 29 41 | 72 72 61 79 20 64 69 6d | input)A|rray dim|
|000041f0| 65 6e 73 69 6f 6e 73 20 | 69 6e 20 78 20 61 6e 64 |ensions |in x and|
|00004200| 0a 79 2c 20 72 65 73 70 | 65 63 74 69 76 65 6c 79 |.y, resp|ectively|
|00004210| 2e 0a 0a 3c 50 3e 0a 78 | 67 2c 20 79 67 20 28 50 |...<P>.x|g, yg (P|
|00004220| 4c 46 4c 54 20 2a 2c 20 | 69 6e 70 75 74 29 50 6f |LFLT *, |input)Po|
|00004230| 69 6e 74 65 72 73 20 74 | 6f 20 61 72 72 61 79 73 |inters t|o arrays|
|00004240| 20 77 68 69 63 68 20 64 | 65 66 69 6e 65 20 74 68 | which d|efine th|
|00004250| 65 0a 74 72 61 6e 73 66 | 6f 72 6d 61 74 69 6f 6e |e.transf|ormation|
|00004260| 20 66 72 6f 6d 20 28 78 | 2c 20 79 29 20 74 6f 20 | from (x|, y) to |
|00004270| 28 74 78 2c 20 74 79 29 | 2c 20 75 73 65 64 20 61 |(tx, ty)|, used a|
|00004280| 73 20 69 6e 70 75 74 20 | 74 6f 20 74 68 65 0a 74 |s input |to the.t|
|00004290| 72 61 6e 73 66 6f 72 6d | 61 74 69 6f 6e 20 66 75 |ransform|ation fu|
|000042a0| 6e 63 74 69 6f 6e 20 70 | 6c 74 72 2e 0a 0a 0a 3c |nction p|ltr....<|
|000042b0| 50 3e 0a 54 77 6f 20 74 | 72 61 6e 73 66 6f 72 6d |P>.Two t|ransform|
|000042c0| 61 74 69 6f 6e 20 66 75 | 6e 63 74 69 6f 6e 73 20 |ation fu|nctions |
|000042d0| 61 72 65 20 70 72 6f 76 | 69 64 65 64 3a 20 70 6c |are prov|ided: pl|
|000042e0| 74 72 31 2c 20 66 6f 72 | 20 6f 6e 65 0a 64 69 6d |tr1, for| one.dim|
|000042f0| 65 6e 73 69 6f 6e 61 6c | 20 6d 61 70 70 69 6e 67 |ensional| mapping|
|00004300| 73 20 28 69 2e 65 2e 20 | 74 78 20 3d 20 66 28 78 |s (i.e. |tx = f(x|
|00004310| 29 2c 20 74 79 20 3d 20 | 66 28 79 29 29 2c 20 61 |), ty = |f(y)), a|
|00004320| 6e 64 0a 70 6c 74 72 32 | 2c 20 66 6f 72 20 74 77 |nd.pltr2|, for tw|
|00004330| 6f 20 64 69 6d 65 6e 73 | 69 6f 6e 61 6c 20 6d 61 |o dimens|ional ma|
|00004340| 70 70 69 6e 67 73 20 28 | 69 2e 65 2e 20 74 78 20 |ppings (|i.e. tx |
|00004350| 3d 20 66 28 78 2c 20 79 | 29 2c 20 74 79 0a 3d 20 |= f(x, y|), ty.= |
|00004360| 66 28 78 2c 20 79 29 29 | 2e 20 20 46 75 6e 63 74 |f(x, y))|. Funct|
|00004370| 69 6f 6e 20 76 61 6c 75 | 65 73 20 61 74 20 6c 6f |ion valu|es at lo|
|00004380| 63 61 74 69 6f 6e 73 20 | 62 65 74 77 65 65 6e 20 |cations |between |
|00004390| 67 72 69 64 20 70 6f 69 | 6e 74 73 20 61 72 65 0a |grid poi|nts are.|
|000043a0| 6f 62 74 61 69 6e 65 64 | 20 76 69 61 20 6c 69 6e |obtained| via lin|
|000043b0| 65 61 72 20 69 6e 74 65 | 72 70 6f 6c 61 74 69 6f |ear inte|rpolatio|
|000043c0| 6e 2e 0a 0a 3c 50 3e 0a | 4e 4f 54 45 3a 20 20 74 |n...<P>.|NOTE: t|
|000043d0| 68 69 73 20 72 6f 75 74 | 69 6e 65 20 63 61 6e 6e |his rout|ine cann|
|000043e0| 6f 74 20 62 65 20 63 61 | 6c 6c 65 64 20 64 69 72 |ot be ca|lled dir|
|000043f0| 65 63 74 6c 79 20 66 72 | 6f 6d 20 46 6f 72 74 72 |ectly fr|om Fortr|
|00004400| 61 6e 2e 20 20 55 73 65 | 0a 70 6c 63 6f 6e 30 2c |an. Use|.plcon0,|
|00004410| 20 70 6c 63 6f 6e 31 2c | 20 6f 72 20 70 6c 63 6f | plcon1,| or plco|
|00004420| 6e 32 20 69 6e 73 74 65 | 61 64 2e 0a 0a 3c 50 3e |n2 inste|ad...<P>|
|00004430| 0a 26 23 31 38 34 3b 0a | 3c 50 3e 0a 70 6c 63 6f |.&#184;.|<P>.plco|
|00004440| 6e 74 2c 20 70 6c 65 6e | 64 2c 20 70 6c 63 6f 6e |nt, plen|d, plcon|
|00004450| 66 2c 20 41 50 49 0a 0a | 3c 50 3e 0a 70 6c 63 6f |f, API..|<P>.plco|
|00004460| 6e 74 28 7a 2c 20 6e 78 | 2c 20 6e 79 2c 20 6b 78 |nt(z, nx|, ny, kx|
|00004470| 2c 20 6c 78 2c 20 6b 79 | 2c 20 6c 79 2c 20 63 6c |, lx, ky|, ly, cl|
|00004480| 65 76 65 6c 2c 20 6e 6c | 65 76 65 6c 2c 20 70 6c |evel, nl|evel, pl|
|00004490| 74 72 29 28 43 29 0a 70 | 6c 63 6f 6e 74 28 7a 2c |tr)(C).p|lcont(z,|
|000044a0| 20 6e 78 2c 20 6e 79 2c | 20 6b 78 2c 20 6c 78 2c | nx, ny,| kx, lx,|
|000044b0| 20 6b 79 2c 20 6c 79 2c | 20 63 6c 65 76 65 6c 2c | ky, ly,| clevel,|
|000044c0| 20 6e 6c 65 76 65 6c 2c | 20 74 72 29 20 20 28 46 | nlevel,| tr) (F|
|000044d0| 6f 72 74 72 61 6e 29 0a | 0a 3c 50 3e 0a 3c 41 20 |ortran).|.<P>.<A |
|000044e0| 49 44 3d 22 70 6c 63 6f | 6e 74 22 3e 3c 2f 41 3e |ID="plco|nt"></A>|
|000044f0| 70 6c 63 6f 6e 74 0a 0a | 3c 50 3e 0a 44 72 61 77 |plcont..|<P>.Draw|
|00004500| 73 20 61 20 63 6f 6e 74 | 6f 75 72 20 70 6c 6f 74 |s a cont|our plot|
|00004510| 20 6f 66 20 74 68 65 20 | 64 61 74 61 20 69 6e 20 | of the |data in |
|00004520| 7a 5b 6e 78 5d 5b 6e 79 | 5d 2c 20 75 73 69 6e 67 |z[nx][ny|], using|
|00004530| 20 74 68 65 0a 6e 6c 65 | 76 65 6c 20 63 6f 6e 74 | the.nle|vel cont|
|00004540| 6f 75 72 20 6c 65 76 65 | 6c 73 20 73 70 65 63 69 |our leve|ls speci|
|00004550| 66 69 65 64 20 62 79 20 | 63 6c 65 76 65 6c 2e 20 |fied by |clevel. |
|00004560| 20 4f 6e 6c 79 20 74 68 | 65 20 72 65 67 69 6f 6e | Only th|e region|
|00004570| 0a 6f 66 20 74 68 65 20 | 61 72 72 61 79 20 66 72 |.of the |array fr|
|00004580| 6f 6d 20 6b 78 20 74 6f | 20 6c 78 20 61 6e 64 20 |om kx to| lx and |
|00004590| 66 72 6f 6d 20 6b 79 20 | 74 6f 20 6c 79 0a 69 73 |from ky |to ly.is|
|000045a0| 20 70 6c 6f 74 74 65 64 | 20 6f 75 74 2e 20 20 41 | plotted| out. A|
|000045b0| 20 74 72 61 6e 73 66 6f | 72 6d 61 74 69 6f 6e 20 | transfo|rmation |
|000045c0| 72 6f 75 74 69 6e 65 20 | 70 6c 74 72 20 69 73 20 |routine |pltr is |
|000045d0| 75 73 65 64 20 74 6f 20 | 6d 61 70 0a 69 6e 64 69 |used to |map.indi|
|000045e0| 63 69 65 73 20 77 69 74 | 68 69 6e 20 74 68 65 20 |cies wit|hin the |
|000045f0| 61 72 72 61 79 20 74 6f | 20 74 68 65 20 77 6f 72 |array to| the wor|
|00004600| 6c 64 20 63 6f 6f 72 64 | 69 6e 61 74 65 73 2e 20 |ld coord|inates. |
|00004610| 20 43 6f 6e 74 6f 75 72 | 0a 70 6c 6f 74 73 20 66 | Contour|.plots f|
|00004620| 6f 72 20 6d 6f 72 65 20 | 69 6e 66 6f 72 6d 61 74 |or more |informat|
|00004630| 69 6f 6e 2e 0a 0a 3c 50 | 3e 0a 7a 20 28 50 4c 46 |ion...<P|>.z (PLF|
|00004640| 4c 54 20 2a 2a 2c 20 69 | 6e 70 75 74 29 50 6f 69 |LT **, i|nput)Poi|
|00004650| 6e 74 65 72 20 74 6f 20 | 61 20 76 65 63 74 6f 72 |nter to |a vector|
|00004660| 65 64 20 74 77 6f 2d 64 | 69 6d 65 6e 73 69 6f 6e |ed two-d|imension|
|00004670| 61 6c 20 61 72 72 61 79 | 0a 63 6f 6e 74 61 69 6e |al array|.contain|
|00004680| 69 6e 67 20 64 61 74 61 | 20 74 6f 20 62 65 20 63 |ing data| to be c|
|00004690| 6f 6e 74 6f 75 72 65 64 | 2e 0a 0a 3c 50 3e 0a 6e |ontoured|...<P>.n|
|000046a0| 78 2c 20 6e 79 20 28 50 | 4c 49 4e 54 2c 20 69 6e |x, ny (P|LINT, in|
|000046b0| 70 75 74 29 50 68 79 73 | 69 63 61 6c 20 64 69 6d |put)Phys|ical dim|
|000046c0| 65 6e 73 69 6f 6e 73 20 | 6f 66 20 61 72 72 61 79 |ensions |of array|
|000046d0| 20 7a 2e 0a 0a 3c 50 3e | 0a 6b 78 2c 20 6c 78 20 | z...<P>|.kx, lx |
|000046e0| 28 50 4c 49 4e 54 2c 20 | 69 6e 70 75 74 29 52 61 |(PLINT, |input)Ra|
|000046f0| 6e 67 65 20 6f 66 20 78 | 20 69 6e 64 69 63 69 65 |nge of x| indicie|
|00004700| 73 20 74 6f 20 63 6f 6e | 73 69 64 65 72 2e 0a 0a |s to con|sider...|
|00004710| 3c 50 3e 0a 6b 79 2c 20 | 6c 79 20 28 50 4c 49 4e |<P>.ky, |ly (PLIN|
|00004720| 54 2c 20 69 6e 70 75 74 | 29 52 61 6e 67 65 20 6f |T, input|)Range o|
|00004730| 66 20 79 20 69 6e 64 69 | 63 69 65 73 20 74 6f 20 |f y indi|cies to |
|00004740| 63 6f 6e 73 69 64 65 72 | 2e 0a 0a 3c 50 3e 0a 63 |consider|...<P>.c|
|00004750| 6c 65 76 65 6c 20 28 50 | 4c 46 4c 54 20 2a 2c 20 |level (P|LFLT *, |
|00004760| 69 6e 70 75 74 29 50 6f | 69 6e 74 65 72 20 74 6f |input)Po|inter to|
|00004770| 20 61 72 72 61 79 20 73 | 70 65 63 69 66 79 69 6e | array s|pecifyin|
|00004780| 67 0a 20 20 20 20 6c 65 | 76 65 6c 73 20 61 74 20 |g. le|vels at |
|00004790| 77 68 69 63 68 20 74 6f | 20 64 72 61 77 20 63 6f |which to| draw co|
|000047a0| 6e 74 6f 75 72 73 2e 0a | 0a 3c 50 3e 0a 6e 6c 65 |ntours..|.<P>.nle|
|000047b0| 76 65 6c 20 28 50 4c 49 | 4e 54 2c 20 69 6e 70 75 |vel (PLI|NT, inpu|
|000047c0| 74 29 4e 75 6d 62 65 72 | 20 6f 66 20 63 6f 6e 74 |t)Number| of cont|
|000047d0| 6f 75 72 20 6c 65 76 65 | 6c 73 20 74 6f 20 64 72 |our leve|ls to dr|
|000047e0| 61 77 2e 0a 0a 3c 50 3e | 0a 70 6c 74 72 20 28 76 |aw...<P>|.pltr (v|
|000047f0| 6f 69 64 20 2a 2c 20 69 | 6e 70 75 74 29 50 6f 69 |oid *, i|nput)Poi|
|00004800| 6e 74 65 72 20 74 6f 20 | 66 75 6e 63 74 69 6f 6e |nter to |function|
|00004810| 20 74 68 61 74 20 64 65 | 66 69 6e 65 73 0a 74 72 | that de|fines.tr|
|00004820| 61 6e 73 66 6f 72 6d 61 | 74 69 6f 6e 20 62 65 74 |ansforma|tion bet|
|00004830| 77 65 65 6e 20 69 6e 64 | 69 63 69 65 73 20 69 6e |ween ind|icies in|
|00004840| 20 61 72 72 61 79 20 7a | 20 61 6e 64 20 74 68 65 | array z| and the|
|00004850| 20 77 6f 72 6c 64 20 63 | 6f 6f 72 64 69 6e 61 74 | world c|oordinat|
|00004860| 65 73 0a 28 43 20 6f 6e | 6c 79 29 2e 20 20 54 77 |es.(C on|ly). Tw|
|00004870| 6f 20 74 72 61 6e 73 66 | 6f 72 6d 61 74 69 6f 6e |o transf|ormation|
|00004880| 20 66 75 6e 63 74 69 6f | 6e 73 20 61 72 65 20 70 | functio|ns are p|
|00004890| 72 6f 76 69 64 65 64 3a | 20 20 78 66 6f 72 6d 2c |rovided:| xform,|
|000048a0| 20 66 6f 72 0a 73 69 6d | 70 6c 65 20 6c 69 6e 65 | for.sim|ple line|
|000048b0| 61 72 20 6d 61 70 70 69 | 6e 67 73 2c 20 61 6e 64 |ar mappi|ngs, and|
|000048c0| 20 70 6c 74 72 30 2c 20 | 69 66 20 6e 6f 20 6d 61 | pltr0, |if no ma|
|000048d0| 70 70 69 6e 67 20 69 73 | 20 72 65 71 75 69 72 65 |pping is| require|
|000048e0| 64 2e 0a 78 66 6f 72 6d | 20 69 73 20 6e 6f 74 20 |d..xform| is not |
|000048f0| 61 63 74 75 61 6c 6c 79 | 20 63 6f 6d 70 69 6c 65 |actually| compile|
|00004900| 64 20 69 6e 74 6f 20 74 | 68 65 20 50 4c 70 6c 6f |d into t|he PLplo|
|00004910| 74 20 6c 69 62 72 61 72 | 79 20 64 75 65 20 74 6f |t librar|y due to|
|00004920| 20 74 68 65 0a 6e 65 65 | 64 20 66 6f 72 20 65 78 | the.nee|d for ex|
|00004930| 74 65 72 6e 61 6c 20 64 | 61 74 61 3b 20 69 6e 73 |ternal d|ata; ins|
|00004940| 74 65 61 64 20 79 6f 75 | 20 6d 75 73 74 20 69 6e |tead you| must in|
|00004950| 63 6c 75 64 65 20 69 74 | 20 61 73 20 70 61 72 74 |clude it| as part|
|00004960| 20 6f 66 20 79 6f 75 72 | 0a 70 72 6f 67 72 61 6d | of your|.program|
|00004970| 2e 20 20 54 68 65 20 66 | 75 6e 63 74 69 6f 6e 20 |. The f|unction |
|00004980| 73 68 6f 75 6c 64 20 68 | 61 76 65 20 74 68 65 20 |should h|ave the |
|00004990| 66 6f 72 6d 3a 0a 0a 3c | 50 3e 0a 70 6c 74 72 28 |form:..<|P>.pltr(|
|000049a0| 78 2c 20 79 2c 20 74 78 | 2c 20 74 79 29 0a 0a 3c |x, y, tx|, ty)..<|
|000049b0| 50 3e 0a 78 2c 20 79 20 | 28 50 4c 46 4c 54 2c 20 |P>.x, y |(PLFLT, |
|000049c0| 69 6e 70 75 74 29 20 53 | 70 65 63 69 66 69 65 73 |input) S|pecifies|
|000049d0| 20 74 68 65 20 70 6f 73 | 69 74 69 6f 6e 20 69 6e | the pos|ition in|
|000049e0| 20 74 68 65 20 61 72 72 | 61 79 0a 74 68 72 6f 75 | the arr|ay.throu|
|000049f0| 67 68 20 77 68 69 63 68 | 20 74 68 65 20 63 6f 6e |gh which| the con|
|00004a00| 74 6f 75 72 20 72 75 6e | 73 20 69 6e 20 74 65 72 |tour run|s in ter|
|00004a10| 6d 73 20 6f 66 20 74 68 | 65 20 61 72 72 61 79 20 |ms of th|e array |
|00004a20| 69 6e 64 69 63 69 65 73 | 2e 20 0a 0a 3c 50 3e 0a |indicies|. ..<P>.|
|00004a30| 74 78 2c 20 74 79 20 28 | 50 4c 46 4c 54 20 2a 2c |tx, ty (|PLFLT *,|
|00004a40| 20 6f 75 74 70 75 74 29 | 50 6f 69 6e 74 65 72 73 | output)|Pointers|
|00004a50| 20 74 6f 20 74 68 65 20 | 77 6f 72 6c 64 20 63 6f | to the |world co|
|00004a60| 6f 72 64 69 6e 61 74 65 | 73 0a 63 6f 72 72 65 73 |ordinate|s.corres|
|00004a70| 70 6f 6e 64 69 6e 67 20 | 74 6f 20 74 68 65 20 70 |ponding |to the p|
|00004a80| 6f 69 6e 74 20 28 78 2c | 20 79 29 2e 20 0a 0a 3c |oint (x,| y). ..<|
|00004a90| 50 3e 0a 74 72 20 28 50 | 4c 46 4c 54 20 2a 2c 20 |P>.tr (P|LFLT *, |
|00004aa0| 69 6e 70 75 74 29 50 6f | 69 6e 74 65 72 20 74 6f |input)Po|inter to|
|00004ab0| 20 36 2d 65 6c 65 6d 65 | 6e 74 20 61 72 72 61 79 | 6-eleme|nt array|
|00004ac0| 20 73 70 65 63 69 66 79 | 69 6e 67 0a 63 6f 65 66 | specify|ing.coef|
|00004ad0| 66 69 63 69 65 6e 74 73 | 20 74 6f 20 75 73 65 20 |ficients| to use |
|00004ae0| 69 6e 20 74 68 65 20 78 | 66 6f 72 6d 20 74 72 61 |in the x|form tra|
|00004af0| 6e 73 66 6f 72 6d 61 74 | 69 6f 6e 20 66 75 6e 63 |nsformat|ion func|
|00004b00| 74 69 6f 6e 20 28 46 6f | 72 74 72 61 6e 0a 6f 6e |tion (Fo|rtran.on|
|00004b10| 6c 79 29 2e 20 20 53 69 | 6e 63 65 20 74 68 69 73 |ly). Si|nce this|
|00004b20| 20 69 73 20 73 6f 6d 65 | 77 68 61 74 20 69 6e 66 | is some|what inf|
|00004b30| 6c 65 78 69 62 6c 65 2c | 20 74 68 65 20 75 73 65 |lexible,| the use|
|00004b40| 72 20 69 73 20 72 65 63 | 6f 6d 6d 65 6e 64 65 64 |r is rec|ommended|
|00004b50| 20 74 6f 20 63 61 6c 6c | 0a 65 69 74 68 65 72 20 | to call|.either |
|00004b60| 6f 66 20 70 6c 63 6f 6e | 30 2c 20 70 6c 63 6f 6e |of plcon|0, plcon|
|00004b70| 31 2c 20 6f 72 20 70 6c | 63 6f 6e 32 20 69 6e 73 |1, or pl|con2 ins|
|00004b80| 74 65 61 64 2e 0a 0a 3c | 50 3e 0a 26 23 31 38 34 |tead...<|P>.&#184|
|00004b90| 3b 0a 3c 50 3e 0a 70 6c | 65 6e 64 2c 20 70 6c 65 |;.<P>.pl|end, ple|
|00004ba0| 6e 64 31 2c 20 70 6c 63 | 6f 6e 74 2c 20 41 50 49 |nd1, plc|ont, API|
|00004bb0| 0a 0a 3c 50 3e 0a 70 6c | 65 6e 64 28 29 0a 3c 41 |..<P>.pl|end().<A|
|00004bc0| 20 49 44 3d 22 70 6c 65 | 6e 64 22 3e 3c 2f 41 3e | ID="ple|nd"></A>|
|00004bd0| 70 6c 65 6e 64 0a 0a 3c | 50 3e 0a 45 6e 64 73 20 |plend..<|P>.Ends |
|00004be0| 61 20 70 6c 6f 74 74 69 | 6e 67 20 73 65 73 73 69 |a plotti|ng sessi|
|00004bf0| 6f 6e 2c 20 74 69 64 69 | 65 73 20 75 70 20 61 6c |on, tidi|es up al|
|00004c00| 6c 20 74 68 65 20 6f 75 | 74 70 75 74 20 66 69 6c |l the ou|tput fil|
|00004c10| 65 73 2c 20 73 77 69 74 | 63 68 65 73 0a 69 6e 74 |es, swit|ches.int|
|00004c20| 65 72 61 63 74 69 76 65 | 20 64 65 76 69 63 65 73 |eractive| devices|
|00004c30| 20 62 61 63 6b 20 69 6e | 74 6f 20 74 65 78 74 20 | back in|to text |
|00004c40| 6d 6f 64 65 20 61 6e 64 | 20 66 72 65 65 73 20 75 |mode and| frees u|
|00004c50| 70 20 61 6e 79 20 6d 65 | 6d 6f 72 79 20 74 68 61 |p any me|mory tha|
|00004c60| 74 20 77 61 73 0a 61 6c | 6c 6f 63 61 74 65 64 2e |t was.al|located.|
|00004c70| 20 20 4d 75 73 74 20 62 | 65 20 63 61 6c 6c 65 64 | Must b|e called|
|00004c80| 20 62 65 66 6f 72 65 20 | 65 6e 64 20 6f 66 20 70 | before |end of p|
|00004c90| 72 6f 67 72 61 6d 2e 0a | 0a 3c 50 3e 0a 26 23 31 |rogram..|.<P>.&#1|
|00004ca0| 38 34 3b 0a 3c 50 3e 0a | 70 6c 65 6e 64 31 2c 20 |84;.<P>.|plend1, |
|00004cb0| 70 6c 65 6e 76 2c 20 70 | 6c 65 6e 64 2c 20 41 50 |plenv, p|lend, AP|
|00004cc0| 49 0a 0a 3c 50 3e 0a 70 | 6c 65 6e 64 31 28 29 0a |I..<P>.p|lend1().|
|00004cd0| 3c 41 20 49 44 3d 22 70 | 6c 65 6e 64 31 22 3e 3c |<A ID="p|lend1"><|
|00004ce0| 2f 41 3e 70 6c 65 6e 64 | 31 0a 0a 3c 50 3e 0a 45 |/A>plend|1..<P>.E|
|00004cf0| 6e 64 73 20 61 20 70 6c | 6f 74 74 69 6e 67 20 73 |nds a pl|otting s|
|00004d00| 65 73 73 69 6f 6e 20 66 | 6f 72 20 74 68 65 20 63 |ession f|or the c|
|00004d10| 75 72 72 65 6e 74 20 6f | 75 74 70 75 74 20 73 74 |urrent o|utput st|
|00004d20| 72 65 61 6d 20 6f 6e 6c | 79 2e 0a 53 65 65 20 70 |ream onl|y..See p|
|00004d30| 6c 73 73 74 72 6d 20 66 | 6f 72 20 6d 6f 72 65 20 |lsstrm f|or more |
|00004d40| 69 6e 66 6f 2e 0a 0a 3c | 50 3e 0a 26 23 31 38 34 |info...<|P>.&#184|
|00004d50| 3b 0a 3c 50 3e 0a 70 6c | 65 6e 76 2c 20 70 6c 65 |;.<P>.pl|env, ple|
|00004d60| 72 72 78 2c 20 70 6c 65 | 6e 64 31 2c 20 41 50 49 |rrx, ple|nd1, API|
|00004d70| 0a 0a 3c 50 3e 0a 70 6c | 65 6e 76 28 78 6d 69 6e |..<P>.pl|env(xmin|
|00004d80| 2c 20 78 6d 61 78 2c 20 | 79 6d 69 6e 2c 20 79 6d |, xmax, |ymin, ym|
|00004d90| 61 78 2c 20 6a 75 73 74 | 2c 20 61 78 69 73 29 0a |ax, just|, axis).|
|00004da0| 3c 41 20 49 44 3d 22 70 | 6c 65 6e 76 22 3e 3c 2f |<A ID="p|lenv"></|
|00004db0| 41 3e 70 6c 65 6e 76 0a | 0a 3c 50 3e 0a 53 65 74 |A>plenv.|.<P>.Set|
|00004dc0| 73 20 75 70 20 70 6c 6f | 74 74 65 72 20 65 6e 76 |s up plo|tter env|
|00004dd0| 69 72 6f 6e 6d 65 6e 74 | 20 66 6f 72 20 73 69 6d |ironment| for sim|
|00004de0| 70 6c 65 20 67 72 61 70 | 68 73 20 62 79 20 63 61 |ple grap|hs by ca|
|00004df0| 6c 6c 69 6e 67 20 70 6c | 61 64 76 0a 61 6e 64 20 |lling pl|adv.and |
|00004e00| 73 65 74 74 69 6e 67 20 | 75 70 20 76 69 65 77 70 |setting |up viewp|
|00004e10| 6f 72 74 20 61 6e 64 20 | 77 69 6e 64 6f 77 20 74 |ort and |window t|
|00004e20| 6f 20 73 65 6e 73 69 62 | 6c 65 20 64 65 66 61 75 |o sensib|le defau|
|00004e30| 6c 74 20 76 61 6c 75 65 | 73 2e 20 20 70 6c 65 6e |lt value|s. plen|
|00004e40| 76 0a 6c 65 61 76 65 73 | 20 65 6e 6f 75 67 68 20 |v.leaves| enough |
|00004e50| 72 6f 6f 6d 20 61 72 6f | 75 6e 64 20 6d 6f 73 74 |room aro|und most|
|00004e60| 20 67 72 61 70 68 73 20 | 66 6f 72 20 61 78 69 73 | graphs |for axis|
|00004e70| 20 6c 61 62 65 6c 73 20 | 61 6e 64 20 61 20 74 69 | labels |and a ti|
|00004e80| 74 6c 65 2e 20 20 57 68 | 65 6e 0a 74 68 65 73 65 |tle. Wh|en.these|
|00004e90| 20 64 65 66 61 75 6c 74 | 73 20 61 72 65 20 6e 6f | default|s are no|
|00004ea0| 74 20 73 75 69 74 61 62 | 6c 65 2c 20 75 73 65 20 |t suitab|le, use |
|00004eb0| 74 68 65 20 69 6e 64 69 | 76 69 64 75 61 6c 20 72 |the indi|vidual r|
|00004ec0| 6f 75 74 69 6e 65 73 20 | 70 6c 76 73 70 61 2c 20 |outines |plvspa, |
|00004ed0| 0a 70 6c 76 70 6f 72 2c | 20 6f 72 20 70 6c 76 61 |.plvpor,| or plva|
|00004ee0| 73 70 20 66 6f 72 20 73 | 65 74 74 69 6e 67 20 75 |sp for s|etting u|
|00004ef0| 70 20 74 68 65 20 76 69 | 65 77 70 6f 72 74 2c 20 |p the vi|ewport, |
|00004f00| 70 6c 77 69 6e 64 20 66 | 6f 72 0a 64 65 66 69 6e |plwind f|or.defin|
|00004f10| 69 6e 67 20 74 68 65 20 | 77 69 6e 64 6f 77 2c 20 |ing the |window, |
|00004f20| 61 6e 64 20 70 6c 62 6f | 78 20 66 6f 72 20 64 72 |and plbo|x for dr|
|00004f30| 61 77 69 6e 67 20 74 68 | 65 20 62 6f 78 2e 0a 0a |awing th|e box...|
|00004f40| 3c 50 3e 0a 78 6d 69 6e | 20 28 50 4c 46 4c 54 2c |<P>.xmin| (PLFLT,|
|00004f50| 20 69 6e 70 75 74 29 56 | 61 6c 75 65 20 6f 66 20 | input)V|alue of |
|00004f60| 78 20 61 74 20 6c 65 66 | 74 2d 68 61 6e 64 20 65 |x at lef|t-hand e|
|00004f70| 64 67 65 20 6f 66 20 77 | 69 6e 64 6f 77 2e 0a 0a |dge of w|indow...|
|00004f80| 3c 50 3e 0a 78 6d 61 78 | 20 28 50 4c 46 4c 54 2c |<P>.xmax| (PLFLT,|
|00004f90| 20 69 6e 70 75 74 29 56 | 61 6c 75 65 20 6f 66 20 | input)V|alue of |
|00004fa0| 78 20 61 74 20 72 69 67 | 68 74 2d 68 61 6e 64 20 |x at rig|ht-hand |
|00004fb0| 65 64 67 65 20 6f 66 20 | 77 69 6e 64 6f 77 2e 0a |edge of |window..|
|00004fc0| 0a 3c 50 3e 0a 79 6d 69 | 6e 20 28 50 4c 46 4c 54 |.<P>.ymi|n (PLFLT|
|00004fd0| 2c 20 69 6e 70 75 74 29 | 56 61 6c 75 65 20 6f 66 |, input)|Value of|
|00004fe0| 20 79 20 61 74 20 62 6f | 74 74 6f 6d 20 65 64 67 | y at bo|ttom edg|
|00004ff0| 65 20 6f 66 20 77 69 6e | 64 6f 77 2e 0a 0a 3c 50 |e of win|dow...<P|
|00005000| 3e 0a 79 6d 61 78 20 28 | 50 4c 46 4c 54 2c 20 69 |>.ymax (|PLFLT, i|
|00005010| 6e 70 75 74 29 56 61 6c | 75 65 20 6f 66 20 79 20 |nput)Val|ue of y |
|00005020| 61 74 20 74 6f 70 20 65 | 64 67 65 20 6f 66 20 77 |at top e|dge of w|
|00005030| 69 6e 64 6f 77 2e 0a 0a | 3c 50 3e 0a 6a 75 73 74 |indow...|<P>.just|
|00005040| 20 28 50 4c 49 4e 54 2c | 20 69 6e 70 75 74 29 49 | (PLINT,| input)I|
|00005050| 66 20 6a 75 73 74 3d 30 | 2c 20 74 68 65 20 78 20 |f just=0|, the x |
|00005060| 61 6e 64 20 79 20 61 78 | 65 73 20 61 72 65 0a 73 |and y ax|es are.s|
|00005070| 63 61 6c 65 64 20 69 6e | 64 65 70 65 6e 64 65 6e |caled in|dependen|
|00005080| 74 6c 79 20 74 6f 20 75 | 73 65 20 61 73 20 6d 75 |tly to u|se as mu|
|00005090| 63 68 20 6f 66 20 74 68 | 65 20 73 63 72 65 65 6e |ch of th|e screen|
|000050a0| 20 61 73 20 70 6f 73 73 | 69 62 6c 65 2c 20 62 75 | as poss|ible, bu|
|000050b0| 74 20 69 66 0a 6a 75 73 | 74 3d 31 2c 20 74 68 65 |t if.jus|t=1, the|
|000050c0| 20 73 63 61 6c 65 73 20 | 6f 66 20 74 68 65 20 78 | scales |of the x|
|000050d0| 20 61 6e 64 20 79 20 61 | 78 65 73 20 61 72 65 20 | and y a|xes are |
|000050e0| 6d 61 64 65 20 65 71 75 | 61 6c 2e 0a 0a 3c 50 3e |made equ|al...<P>|
|000050f0| 0a 61 78 69 73 20 28 50 | 4c 49 4e 54 2c 20 69 6e |.axis (P|LINT, in|
|00005100| 70 75 74 29 43 6f 6e 74 | 72 6f 6c 73 20 64 72 61 |put)Cont|rols dra|
|00005110| 77 69 6e 67 20 6f 66 20 | 74 68 65 20 62 6f 78 20 |wing of |the box |
|00005120| 61 72 6f 75 6e 64 20 74 | 68 65 20 70 6c 6f 74 3a |around t|he plot:|
|00005130| 0a 0a 3c 50 3e 0a 0a 3c | 55 4c 3e 0a 3c 4c 49 3e |..<P>..<|UL>.<LI>|
|00005140| 2d 32 3a 20 4e 6f 20 62 | 6f 78 20 6f 72 20 61 6e |-2: No b|ox or an|
|00005150| 6e 6f 74 61 74 69 6f 6e | 2e 0a 0a 3c 50 3e 0a 3c |notation|...<P>.<|
|00005160| 2f 4c 49 3e 0a 3c 4c 49 | 3e 2d 31 3a 20 44 72 61 |/LI>.<LI|>-1: Dra|
|00005170| 77 20 62 6f 78 20 6f 6e | 6c 79 2e 0a 0a 3c 50 3e |w box on|ly...<P>|
|00005180| 0a 3c 2f 4c 49 3e 0a 3c | 4c 49 3e 30 3a 20 44 72 |.</LI>.<|LI>0: Dr|
|00005190| 61 77 20 62 6f 78 2c 20 | 6c 61 62 65 6c 6c 65 64 |aw box, |labelled|
|000051a0| 20 77 69 74 68 20 63 6f | 6f 72 64 69 6e 61 74 65 | with co|ordinate|
|000051b0| 20 76 61 6c 75 65 73 20 | 61 72 6f 75 6e 64 20 65 | values |around e|
|000051c0| 64 67 65 2e 0a 0a 3c 50 | 3e 0a 3c 2f 4c 49 3e 0a |dge...<P|>.</LI>.|
|000051d0| 3c 4c 49 3e 31 3a 20 49 | 6e 20 61 64 64 69 74 69 |<LI>1: I|n additi|
|000051e0| 6f 6e 20 74 6f 20 62 6f | 78 20 61 6e 64 20 6c 61 |on to bo|x and la|
|000051f0| 62 65 6c 73 2c 20 64 72 | 61 77 20 74 68 65 20 74 |bels, dr|aw the t|
|00005200| 77 6f 20 61 78 65 73 20 | 78 3d 30 0a 61 6e 64 20 |wo axes |x=0.and |
|00005210| 79 3d 30 2e 20 0a 0a 3c | 50 3e 0a 3c 2f 4c 49 3e |y=0. ..<|P>.</LI>|
|00005220| 0a 3c 4c 49 3e 32 3a 20 | 41 73 20 66 6f 72 20 61 |.<LI>2: |As for a|
|00005230| 78 69 73 3d 31 2c 20 62 | 75 74 20 61 6c 73 6f 20 |xis=1, b|ut also |
|00005240| 64 72 61 77 20 61 20 67 | 72 69 64 20 61 74 20 74 |draw a g|rid at t|
|00005250| 68 65 20 6d 61 6a 6f 72 | 20 74 69 63 6b 0a 69 6e |he major| tick.in|
|00005260| 74 65 72 76 61 6c 2e 20 | 0a 0a 3c 50 3e 0a 3c 2f |terval. |..<P>.</|
|00005270| 4c 49 3e 0a 3c 4c 49 3e | 31 30 3a 20 4c 6f 67 61 |LI>.<LI>|10: Loga|
|00005280| 72 69 74 68 6d 69 63 20 | 78 20 61 78 69 73 2c 20 |rithmic |x axis, |
|00005290| 6c 69 6e 65 61 72 20 79 | 20 61 78 69 73 2e 0a 0a |linear y| axis...|
|000052a0| 3c 50 3e 0a 3c 2f 4c 49 | 3e 0a 3c 4c 49 3e 31 31 |<P>.</LI|>.<LI>11|
|000052b0| 3a 20 4c 6f 67 61 72 69 | 74 68 6d 69 63 20 78 20 |: Logari|thmic x |
|000052c0| 61 78 69 73 2c 20 6c 69 | 6e 65 61 72 20 79 20 61 |axis, li|near y a|
|000052d0| 78 69 73 20 61 6e 64 20 | 64 72 61 77 20 6c 69 6e |xis and |draw lin|
|000052e0| 65 20 79 3d 30 2e 0a 0a | 3c 50 3e 0a 3c 2f 4c 49 |e y=0...|<P>.</LI|
|000052f0| 3e 0a 3c 4c 49 3e 32 30 | 3a 20 4c 69 6e 65 61 72 |>.<LI>20|: Linear|
|00005300| 20 78 20 61 78 69 73 2c | 20 6c 6f 67 61 72 69 74 | x axis,| logarit|
|00005310| 68 6d 69 63 20 79 20 61 | 78 69 73 2e 0a 0a 3c 50 |hmic y a|xis...<P|
|00005320| 3e 0a 3c 2f 4c 49 3e 0a | 3c 4c 49 3e 32 31 3a 20 |>.</LI>.|<LI>21: |
|00005330| 4c 69 6e 65 61 72 20 78 | 20 61 78 69 73 2c 20 6c |Linear x| axis, l|
|00005340| 6f 67 61 72 69 74 68 6d | 69 63 20 79 20 61 78 69 |ogarithm|ic y axi|
|00005350| 73 20 61 6e 64 20 64 72 | 61 77 20 6c 69 6e 65 20 |s and dr|aw line |
|00005360| 78 3d 30 2e 0a 0a 3c 50 | 3e 0a 3c 2f 4c 49 3e 0a |x=0...<P|>.</LI>.|
|00005370| 3c 4c 49 3e 33 30 3a 20 | 4c 6f 67 61 72 69 74 68 |<LI>30: |Logarith|
|00005380| 6d 69 63 20 78 20 61 6e | 64 20 79 20 61 78 65 73 |mic x an|d y axes|
|00005390| 2e 0a 3c 2f 4c 49 3e 0a | 3c 2f 55 4c 3e 0a 0a 3c |..</LI>.|</UL>..<|
|000053a0| 50 3e 0a 26 23 31 38 34 | 3b 0a 3c 50 3e 0a 70 6c |P>.&#184|;.<P>.pl|
|000053b0| 65 72 72 78 2c 20 70 6c | 65 72 72 79 2c 20 70 6c |errx, pl|erry, pl|
|000053c0| 65 6e 76 2c 20 41 50 49 | 0a 0a 3c 50 3e 0a 70 6c |env, API|..<P>.pl|
|000053d0| 65 72 72 78 28 6e 2c 20 | 78 6d 69 6e 2c 20 78 6d |errx(n, |xmin, xm|
|000053e0| 61 78 2c 20 79 29 0a 3c | 41 20 49 44 3d 22 70 6c |ax, y).<|A ID="pl|
|000053f0| 65 72 72 78 22 3e 3c 2f | 41 3e 70 6c 65 72 72 78 |errx"></|A>plerrx|
|00005400| 0a 0a 3c 50 3e 0a 44 72 | 61 77 73 20 61 20 73 65 |..<P>.Dr|aws a se|
|00005410| 74 20 6f 66 20 6e 20 68 | 6f 72 69 7a 6f 6e 74 61 |t of n h|orizonta|
|00005420| 6c 20 65 72 72 6f 72 20 | 62 61 72 73 2c 20 74 68 |l error |bars, th|
|00005430| 65 20 69 27 74 68 20 65 | 72 72 6f 72 0a 62 61 72 |e i'th e|rror.bar|
|00005440| 20 65 78 74 65 6e 64 69 | 6e 67 20 66 72 6f 6d 20 | extendi|ng from |
|00005450| 78 6d 69 6e 5b 69 5d 20 | 74 6f 20 78 6d 61 78 5b |xmin[i] |to xmax[|
|00005460| 69 5d 20 61 74 20 79 20 | 63 6f 6f 72 64 69 6e 61 |i] at y |coordina|
|00005470| 74 65 0a 79 5b 69 5d 2e | 20 20 54 68 65 20 74 65 |te.y[i].| The te|
|00005480| 72 6d 69 6e 61 6c 73 20 | 6f 66 20 74 68 65 20 65 |rminals |of the e|
|00005490| 72 72 6f 72 20 62 61 72 | 20 61 72 65 20 6f 66 20 |rror bar| are of |
|000054a0| 6c 65 6e 67 74 68 20 65 | 71 75 61 6c 20 74 6f 20 |length e|qual to |
|000054b0| 74 68 65 0a 6d 69 6e 6f | 72 20 74 69 63 6b 20 6c |the.mino|r tick l|
|000054c0| 65 6e 67 74 68 20 28 73 | 65 74 74 61 62 6c 65 20 |ength (s|ettable |
|000054d0| 75 73 69 6e 67 20 70 6c | 73 6d 69 6e 29 2e 0a 0a |using pl|smin)...|
|000054e0| 3c 50 3e 0a 6e 20 28 50 | 4c 49 4e 54 2c 20 69 6e |<P>.n (P|LINT, in|
|000054f0| 70 75 74 29 4e 75 6d 62 | 65 72 20 6f 66 20 65 72 |put)Numb|er of er|
|00005500| 72 6f 72 20 62 61 72 73 | 20 74 6f 20 64 72 61 77 |ror bars| to draw|
|00005510| 2e 0a 0a 3c 50 3e 0a 78 | 6d 69 6e 20 28 50 4c 46 |...<P>.x|min (PLF|
|00005520| 4c 54 20 2a 2c 20 69 6e | 70 75 74 29 50 6f 69 6e |LT *, in|put)Poin|
|00005530| 74 65 72 20 74 6f 20 61 | 72 72 61 79 20 77 69 74 |ter to a|rray wit|
|00005540| 68 20 78 20 63 6f 6f 72 | 64 69 6e 61 74 65 73 20 |h x coor|dinates |
|00005550| 6f 66 0a 6c 65 66 74 2d | 68 61 6e 64 20 65 6e 64 |of.left-|hand end|
|00005560| 70 6f 69 6e 74 20 6f 66 | 20 65 72 72 6f 72 20 62 |point of| error b|
|00005570| 61 72 73 2e 0a 0a 3c 50 | 3e 0a 78 6d 61 78 20 28 |ars...<P|>.xmax (|
|00005580| 50 4c 46 4c 54 20 2a 2c | 20 69 6e 70 75 74 29 50 |PLFLT *,| input)P|
|00005590| 6f 69 6e 74 65 72 20 74 | 6f 20 61 72 72 61 79 20 |ointer t|o array |
|000055a0| 77 69 74 68 20 78 20 63 | 6f 6f 72 64 69 6e 61 74 |with x c|oordinat|
|000055b0| 65 73 20 6f 66 0a 72 69 | 67 68 74 2d 68 61 6e 64 |es of.ri|ght-hand|
|000055c0| 20 65 6e 64 70 6f 69 6e | 74 20 6f 66 20 65 72 72 | endpoin|t of err|
|000055d0| 6f 72 20 62 61 72 73 2e | 0a 0a 3c 50 3e 0a 79 20 |or bars.|..<P>.y |
|000055e0| 28 50 4c 46 4c 54 20 2a | 2c 20 69 6e 70 75 74 29 |(PLFLT *|, input)|
|000055f0| 50 6f 69 6e 74 65 72 20 | 74 6f 20 61 72 72 61 79 |Pointer |to array|
|00005600| 20 77 69 74 68 20 79 20 | 63 6f 6f 72 64 69 6e 61 | with y |coordina|
|00005610| 74 65 73 20 6f 66 0a 65 | 72 72 6f 72 20 62 61 72 |tes of.e|rror bar|
|00005620| 2e 0a 0a 3c 50 3e 0a 26 | 23 31 38 34 3b 0a 3c 50 |...<P>.&|#184;.<P|
|00005630| 3e 0a 70 6c 65 72 72 79 | 2c 20 70 6c 65 78 69 74 |>.plerry|, plexit|
|00005640| 2c 20 70 6c 65 72 72 78 | 2c 20 41 50 49 0a 0a 3c |, plerrx|, API..<|
|00005650| 50 3e 0a 70 6c 65 72 72 | 79 28 6e 2c 20 78 2c 20 |P>.plerr|y(n, x, |
|00005660| 79 6d 69 6e 2c 20 79 6d | 61 78 29 0a 3c 41 20 49 |ymin, ym|ax).<A I|
|00005670| 44 3d 22 70 6c 65 72 72 | 79 22 3e 3c 2f 41 3e 70 |D="plerr|y"></A>p|
|00005680| 6c 65 72 72 79 0a 0a 3c | 50 3e 0a 44 72 61 77 73 |lerry..<|P>.Draws|
|00005690| 20 61 20 73 65 74 20 6f | 66 20 6e 20 76 65 72 74 | a set o|f n vert|
|000056a0| 69 63 61 6c 20 65 72 72 | 6f 72 20 62 61 72 73 2c |ical err|or bars,|
|000056b0| 20 74 68 65 20 69 27 74 | 68 20 65 72 72 6f 72 20 | the i't|h error |
|000056c0| 62 61 72 0a 65 78 74 65 | 6e 64 69 6e 67 20 66 72 |bar.exte|nding fr|
|000056d0| 6f 6d 20 79 6d 69 6e 5b | 69 5d 20 74 6f 20 79 6d |om ymin[|i] to ym|
|000056e0| 61 78 5b 69 5d 20 61 74 | 20 78 20 63 6f 6f 72 64 |ax[i] at| x coord|
|000056f0| 69 6e 61 74 65 20 78 5b | 69 5d 2e 0a 54 68 65 20 |inate x[|i]..The |
|00005700| 74 65 72 6d 69 6e 61 6c | 73 20 6f 66 20 74 68 65 |terminal|s of the|
|00005710| 20 65 72 72 6f 72 20 62 | 61 72 20 61 72 65 20 6f | error b|ar are o|
|00005720| 66 20 6c 65 6e 67 74 68 | 20 65 71 75 61 6c 20 74 |f length| equal t|
|00005730| 6f 20 74 68 65 20 6d 69 | 6e 6f 72 20 74 69 63 6b |o the mi|nor tick|
|00005740| 20 6c 65 6e 67 74 68 0a | 28 73 65 74 74 61 62 6c | length.|(settabl|
|00005750| 65 20 75 73 69 6e 67 20 | 70 6c 73 6d 69 6e 29 2e |e using |plsmin).|
|00005760| 0a 0a 3c 50 3e 0a 6e 20 | 28 50 4c 49 4e 54 2c 20 |..<P>.n |(PLINT, |
|00005770| 69 6e 70 75 74 29 4e 75 | 6d 62 65 72 20 6f 66 20 |input)Nu|mber of |
|00005780| 65 72 72 6f 72 20 62 61 | 72 73 20 74 6f 20 64 72 |error ba|rs to dr|
|00005790| 61 77 2e 0a 0a 3c 50 3e | 0a 78 20 28 50 4c 46 4c |aw...<P>|.x (PLFL|
|000057a0| 54 20 2a 2c 20 69 6e 70 | 75 74 29 50 6f 69 6e 74 |T *, inp|ut)Point|
|000057b0| 65 72 20 74 6f 20 61 72 | 72 61 79 20 77 69 74 68 |er to ar|ray with|
|000057c0| 20 78 20 63 6f 6f 72 64 | 69 6e 61 74 65 73 20 6f | x coord|inates o|
|000057d0| 66 0a 65 72 72 6f 72 20 | 62 61 72 73 2e 0a 0a 3c |f.error |bars...<|
|000057e0| 50 3e 0a 79 6d 69 6e 20 | 28 50 4c 46 4c 54 20 2a |P>.ymin |(PLFLT *|
|000057f0| 2c 20 69 6e 70 75 74 29 | 50 6f 69 6e 74 65 72 20 |, input)|Pointer |
|00005800| 74 6f 20 61 72 72 61 79 | 20 77 69 74 68 20 79 20 |to array| with y |
|00005810| 63 6f 6f 72 64 69 6e 61 | 74 65 73 20 6f 66 0a 6c |coordina|tes of.l|
|00005820| 6f 77 65 72 20 65 6e 64 | 70 6f 69 6e 74 20 6f 66 |ower end|point of|
|00005830| 20 65 72 72 6f 72 20 62 | 61 72 73 2e 0a 0a 3c 50 | error b|ars...<P|
|00005840| 3e 0a 79 6d 61 78 20 28 | 50 4c 46 4c 54 20 2a 2c |>.ymax (|PLFLT *,|
|00005850| 20 69 6e 70 75 74 29 50 | 6f 69 6e 74 65 72 20 74 | input)P|ointer t|
|00005860| 6f 20 61 72 72 61 79 20 | 77 69 74 68 20 79 20 63 |o array |with y c|
|00005870| 6f 6f 72 64 69 6e 61 74 | 65 20 6f 66 0a 75 70 70 |oordinat|e of.upp|
|00005880| 65 72 20 65 6e 64 70 6f | 69 6e 74 20 6f 66 20 65 |er endpo|int of e|
|00005890| 72 72 6f 72 20 62 61 72 | 2e 0a 0a 3c 50 3e 0a 26 |rror bar|...<P>.&|
|000058a0| 23 31 38 34 3b 0a 3c 50 | 3e 0a 70 6c 65 78 69 74 |#184;.<P|>.plexit|
|000058b0| 2c 20 70 6c 66 69 6c 6c | 2c 20 70 6c 65 72 72 79 |, plfill|, plerry|
|000058c0| 2c 20 41 50 49 0a 0a 3c | 50 3e 0a 70 6c 65 78 69 |, API..<|P>.plexi|
|000058d0| 74 28 6d 65 73 73 61 67 | 65 29 0a 3c 41 20 49 44 |t(messag|e).<A ID|
|000058e0| 3d 22 70 6c 65 78 69 74 | 22 3e 3c 2f 41 3e 70 6c |="plexit|"></A>pl|
|000058f0| 65 78 69 74 0a 0a 3c 50 | 3e 0a 54 68 69 73 20 72 |exit..<P|>.This r|
|00005900| 6f 75 74 69 6e 65 20 69 | 73 20 63 61 6c 6c 65 64 |outine i|s called|
|00005910| 20 69 6e 20 63 61 73 65 | 20 61 6e 20 65 72 72 6f | in case| an erro|
|00005920| 72 20 69 73 20 65 6e 63 | 6f 75 6e 74 65 72 65 64 |r is enc|ountered|
|00005930| 20 64 75 72 69 6e 67 0a | 65 78 65 63 75 74 69 6f | during.|executio|
|00005940| 6e 20 6f 66 20 61 20 50 | 4c 70 6c 6f 74 20 72 6f |n of a P|Lplot ro|
|00005950| 75 74 69 6e 65 2e 20 20 | 49 74 20 70 72 69 6e 74 |utine. |It print|
|00005960| 73 20 74 68 65 20 65 72 | 72 6f 72 20 6d 65 73 73 |s the er|ror mess|
|00005970| 61 67 65 2c 20 74 72 69 | 65 73 20 74 6f 0a 72 65 |age, tri|es to.re|
|00005980| 6c 65 61 73 65 20 61 6c | 6c 6f 63 61 74 65 64 20 |lease al|located |
|00005990| 72 65 73 6f 75 72 63 65 | 73 2c 20 63 61 6c 6c 73 |resource|s, calls|
|000059a0| 20 70 6c 5f 65 78 69 74 | 20 61 6e 64 20 74 68 65 | pl_exit| and the|
|000059b0| 6e 20 65 78 69 74 73 2e | 20 20 49 66 0a 63 6c 65 |n exits.| If.cle|
|000059c0| 61 6e 75 70 20 6e 65 65 | 64 73 20 74 6f 20 62 65 |anup nee|ds to be|
|000059d0| 20 64 6f 6e 65 20 69 6e | 20 74 68 65 20 64 72 69 | done in| the dri|
|000059e0| 76 65 72 20 70 72 6f 67 | 72 61 6d 20 74 68 65 6e |ver prog|ram then|
|000059f0| 20 74 68 65 20 75 73 65 | 72 20 6d 61 79 20 77 61 | the use|r may wa|
|00005a00| 6e 74 20 74 6f 0a 73 75 | 70 70 6c 79 20 68 69 73 |nt to.su|pply his|
|00005a10| 2f 68 65 72 20 6f 77 6e | 20 76 65 72 73 69 6f 6e |/her own| version|
|00005a20| 20 6f 66 20 70 6c 5f 65 | 78 69 74 2e 0a 0a 3c 50 | of pl_e|xit...<P|
|00005a30| 3e 0a 6d 65 73 73 61 67 | 65 20 28 63 68 61 72 20 |>.messag|e (char |
|00005a40| 2a 2c 20 69 6e 70 75 74 | 29 45 72 72 6f 72 20 6d |*, input|)Error m|
|00005a50| 65 73 73 61 67 65 2e 0a | 0a 3c 50 3e 0a 26 23 31 |essage..|.<P>.&#1|
|00005a60| 38 34 3b 0a 3c 50 3e 0a | 70 6c 66 69 6c 6c 2c 20 |84;.<P>.|plfill, |
|00005a70| 70 6c 66 6f 6e 74 2c 20 | 70 6c 65 78 69 74 2c 20 |plfont, |plexit, |
|00005a80| 41 50 49 0a 0a 3c 50 3e | 0a 70 6c 66 69 6c 6c 28 |API..<P>|.plfill(|
|00005a90| 6e 2c 20 78 2c 20 79 29 | 0a 3c 41 20 49 44 3d 22 |n, x, y)|.<A ID="|
|00005aa0| 70 6c 66 69 6c 6c 22 3e | 3c 2f 41 3e 70 6c 66 69 |plfill">|</A>plfi|
|00005ab0| 6c 6c 0a 0a 3c 50 3e 0a | 46 69 6c 6c 73 20 74 68 |ll..<P>.|Fills th|
|00005ac0| 65 20 70 6f 6c 79 67 6f | 6e 20 64 65 66 69 6e 65 |e polygo|n define|
|00005ad0| 64 20 62 79 20 74 68 65 | 20 6e 20 70 6f 69 6e 74 |d by the| n point|
|00005ae0| 73 20 28 78 5b 69 5d 2c | 20 79 5b 69 5d 29 0a 75 |s (x[i],| y[i]).u|
|00005af0| 73 69 6e 67 20 74 68 65 | 20 70 61 74 74 65 72 6e |sing the| pattern|
|00005b00| 20 64 65 66 69 6e 65 64 | 20 62 79 20 70 6c 70 73 | defined| by plps|
|00005b10| 74 79 20 6f 72 20 70 6c | 70 61 74 2e 20 20 54 68 |ty or pl|pat. Th|
|00005b20| 65 20 72 6f 75 74 69 6e | 65 20 77 69 6c 6c 0a 61 |e routin|e will.a|
|00005b30| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 20 63 6c 6f |utomatic|ally clo|
|00005b40| 73 65 20 74 68 65 20 70 | 6f 6c 79 67 6f 6e 20 62 |se the p|olygon b|
|00005b50| 65 74 77 65 65 6e 20 74 | 68 65 20 6c 61 73 74 20 |etween t|he last |
|00005b60| 61 6e 64 20 66 69 72 73 | 74 20 76 65 72 74 69 63 |and firs|t vertic|
|00005b70| 65 73 2e 20 20 49 66 0a | 6d 75 6c 74 69 70 6c 65 |es. If.|multiple|
|00005b80| 20 63 6c 6f 73 65 64 20 | 70 6f 6c 79 67 6f 6e 73 | closed |polygons|
|00005b90| 20 61 72 65 20 70 61 73 | 73 65 64 20 69 6e 20 78 | are pas|sed in x|
|00005ba0| 20 61 6e 64 20 79 20 74 | 68 65 6e 20 70 6c 66 69 | and y t|hen plfi|
|00005bb0| 6c 6c 0a 77 69 6c 6c 20 | 66 69 6c 6c 20 69 6e 20 |ll.will |fill in |
|00005bc0| 62 65 74 77 65 65 6e 20 | 74 68 65 6d 2e 0a 0a 3c |between |them...<|
|00005bd0| 50 3e 0a 6e 20 28 50 4c | 49 4e 54 2c 20 69 6e 70 |P>.n (PL|INT, inp|
|00005be0| 75 74 29 4e 75 6d 62 65 | 72 20 6f 66 20 76 65 72 |ut)Numbe|r of ver|
|00005bf0| 74 69 63 65 73 20 69 6e | 20 70 6f 6c 79 67 6f 6e |tices in| polygon|
|00005c00| 2e 0a 0a 3c 50 3e 0a 78 | 20 28 50 4c 46 4c 54 20 |...<P>.x| (PLFLT |
|00005c10| 2a 2c 20 69 6e 70 75 74 | 29 50 6f 69 6e 74 65 72 |*, input|)Pointer|
|00005c20| 20 74 6f 20 61 72 72 61 | 79 20 77 69 74 68 20 78 | to arra|y with x|
|00005c30| 20 63 6f 6f 72 64 69 6e | 61 74 65 73 20 6f 66 0a | coordin|ates of.|
|00005c40| 76 65 72 74 69 63 65 73 | 2e 0a 0a 3c 50 3e 0a 79 |vertices|...<P>.y|
|00005c50| 20 28 50 4c 46 4c 54 20 | 2a 2c 20 69 6e 70 75 74 | (PLFLT |*, input|
|00005c60| 29 50 6f 69 6e 74 65 72 | 20 74 6f 20 61 72 72 61 |)Pointer| to arra|
|00005c70| 79 20 77 69 74 68 20 79 | 20 63 6f 6f 72 64 69 6e |y with y| coordin|
|00005c80| 61 74 65 73 20 6f 66 0a | 76 65 72 74 69 63 65 73 |ates of.|vertices|
|00005c90| 2e 0a 0a 3c 50 3e 0a 26 | 23 31 38 34 3b 0a 3c 50 |...<P>.&|#184;.<P|
|00005ca0| 3e 0a 70 6c 66 6f 6e 74 | 2c 20 70 6c 66 6f 6e 74 |>.plfont|, plfont|
|00005cb0| 6c 64 2c 20 70 6c 66 69 | 6c 6c 2c 20 41 50 49 0a |ld, plfi|ll, API.|
|00005cc0| 0a 3c 50 3e 0a 70 6c 66 | 6f 6e 74 28 66 6f 6e 74 |.<P>.plf|ont(font|
|00005cd0| 29 0a 3c 41 20 49 44 3d | 22 70 6c 66 6f 6e 74 22 |).<A ID=|"plfont"|
|00005ce0| 3e 3c 2f 41 3e 70 6c 66 | 6f 6e 74 0a 0a 3c 50 3e |></A>plf|ont..<P>|
|00005cf0| 0a 53 65 74 73 20 74 68 | 65 20 64 65 66 61 75 6c |.Sets th|e defaul|
|00005d00| 74 20 63 68 61 72 61 63 | 74 65 72 20 66 6f 6e 74 |t charac|ter font|
|00005d10| 20 66 6f 72 20 73 75 62 | 73 65 71 75 65 6e 74 20 | for sub|sequent |
|00005d20| 63 68 61 72 61 63 74 65 | 72 20 64 72 61 77 69 6e |characte|r drawin|
|00005d30| 67 2e 0a 41 6c 73 6f 20 | 61 66 66 65 63 74 73 20 |g..Also |affects |
|00005d40| 73 79 6d 62 6f 6c 73 20 | 70 72 6f 64 75 63 65 64 |symbols |produced|
|00005d50| 20 62 79 20 70 6c 70 6f | 69 6e 2e 20 20 54 68 69 | by plpo|in. Thi|
|00005d60| 73 20 72 6f 75 74 69 6e | 65 20 68 61 73 20 6e 6f |s routin|e has no|
|00005d70| 20 65 66 66 65 63 74 0a | 75 6e 6c 65 73 73 20 74 | effect.|unless t|
|00005d80| 68 65 20 65 78 74 65 6e | 64 65 64 20 63 68 61 72 |he exten|ded char|
|00005d90| 61 63 74 65 72 20 73 65 | 74 20 69 73 20 6c 6f 61 |acter se|t is loa|
|00005da0| 64 65 64 20 28 73 65 65 | 20 70 6c 66 6f 6e 74 6c |ded (see| plfontl|
|00005db0| 64 29 2e 0a 0a 3c 50 3e | 0a 66 6f 6e 74 20 28 50 |d)...<P>|.font (P|
|00005dc0| 4c 49 4e 54 2c 20 69 6e | 70 75 74 29 53 70 65 63 |LINT, in|put)Spec|
|00005dd0| 69 66 69 65 73 20 74 68 | 65 20 66 6f 6e 74 3a 0a |ifies th|e font:.|
|00005de0| 0a 3c 50 3e 0a 0a 3c 55 | 4c 3e 0a 3c 4c 49 3e 31 |.<P>..<U|L>.<LI>1|
|00005df0| 3a 20 4e 6f 72 6d 61 6c | 20 66 6f 6e 74 20 28 73 |: Normal| font (s|
|00005e00| 69 6d 70 6c 65 73 74 20 | 61 6e 64 20 66 61 73 74 |implest |and fast|
|00005e10| 65 73 74 29 0a 0a 3c 50 | 3e 0a 3c 2f 4c 49 3e 0a |est)..<P|>.</LI>.|
|00005e20| 3c 4c 49 3e 32 3a 20 52 | 6f 6d 61 6e 20 66 6f 6e |<LI>2: R|oman fon|
|00005e30| 74 0a 0a 3c 50 3e 0a 3c | 2f 4c 49 3e 0a 3c 4c 49 |t..<P>.<|/LI>.<LI|
|00005e40| 3e 33 3a 20 49 74 61 6c | 69 63 20 66 6f 6e 74 0a |>3: Ital|ic font.|
|00005e50| 0a 3c 50 3e 0a 3c 2f 4c | 49 3e 0a 3c 4c 49 3e 34 |.<P>.</L|I>.<LI>4|
|00005e60| 3a 20 53 63 72 69 70 74 | 20 66 6f 6e 74 0a 3c 2f |: Script| font.</|
|00005e70| 4c 49 3e 0a 3c 2f 55 4c | 3e 0a 0a 3c 50 3e 0a 26 |LI>.</UL|>..<P>.&|
|00005e80| 23 31 38 34 3b 0a 3c 50 | 3e 0a 70 6c 66 6f 6e 74 |#184;.<P|>.plfont|
|00005e90| 6c 64 2c 20 70 6c 67 66 | 61 6d 2c 20 70 6c 66 6f |ld, plgf|am, plfo|
|00005ea0| 6e 74 2c 20 41 50 49 0a | 0a 3c 50 3e 0a 70 6c 66 |nt, API.|.<P>.plf|
|00005eb0| 6f 6e 74 6c 64 28 73 65 | 74 29 0a 3c 41 20 49 44 |ontld(se|t).<A ID|
|00005ec0| 3d 22 70 6c 66 6f 6e 74 | 6c 64 22 3e 3c 2f 41 3e |="plfont|ld"></A>|
|00005ed0| 70 6c 66 6f 6e 74 6c 64 | 0a 0a 3c 50 3e 0a 53 65 |plfontld|..<P>.Se|
|00005ee0| 74 73 20 74 68 65 20 63 | 68 61 72 61 63 74 65 72 |ts the c|haracter|
|00005ef0| 20 73 65 74 20 74 6f 20 | 75 73 65 20 66 6f 72 20 | set to |use for |
|00005f00| 73 75 62 73 65 71 75 65 | 6e 74 20 63 68 61 72 61 |subseque|nt chara|
|00005f10| 63 74 65 72 20 64 72 61 | 77 69 6e 67 2e 0a 4d 61 |cter dra|wing..Ma|
|00005f20| 79 20 62 65 20 63 61 6c | 6c 65 64 20 62 65 66 6f |y be cal|led befo|
|00005f30| 72 65 20 63 61 6c 6c 69 | 6e 67 20 69 6e 69 74 69 |re calli|ng initi|
|00005f40| 61 6c 69 7a 69 6e 67 20 | 50 4c 70 6c 6f 74 2e 0a |alizing |PLplot..|
|00005f50| 0a 3c 50 3e 0a 73 65 74 | 20 28 50 4c 49 4e 54 2c |.<P>.set| (PLINT,|
|00005f60| 20 69 6e 70 75 74 29 53 | 70 65 63 69 66 69 65 73 | input)S|pecifies|
|00005f70| 20 74 68 65 20 63 68 61 | 72 61 63 74 65 72 20 73 | the cha|racter s|
|00005f80| 65 74 20 74 6f 20 6c 6f | 61 64 3a 0a 0a 3c 55 4c |et to lo|ad:..<UL|
|00005f90| 3e 0a 3c 4c 49 3e 30 3a | 20 53 74 61 6e 64 61 72 |>.<LI>0:| Standar|
|00005fa0| 64 20 63 68 61 72 61 63 | 74 65 72 20 73 65 74 0a |d charac|ter set.|
|00005fb0| 0a 3c 50 3e 0a 3c 2f 4c | 49 3e 0a 3c 4c 49 3e 31 |.<P>.</L|I>.<LI>1|
|00005fc0| 3a 20 45 78 74 65 6e 64 | 65 64 20 63 68 61 72 61 |: Extend|ed chara|
|00005fd0| 63 74 65 72 20 73 65 74 | 0a 3c 2f 4c 49 3e 0a 3c |cter set|.</LI>.<|
|00005fe0| 2f 55 4c 3e 0a 0a 3c 50 | 3e 0a 26 23 31 38 34 3b |/UL>..<P|>.&#184;|
|00005ff0| 0a 3c 50 3e 0a 70 6c 67 | 66 61 6d 2c 20 70 6c 67 |.<P>.plg|fam, plg|
|00006000| 66 69 6c 65 2c 20 70 6c | 66 6f 6e 74 6c 64 2c 20 |file, pl|fontld, |
|00006010| 41 50 49 0a 0a 3c 50 3e | 0a 70 6c 67 66 61 6d 28 |API..<P>|.plgfam(|
|00006020| 66 61 6d 2c 20 6e 75 6d | 2c 20 62 6d 61 78 29 0a |fam, num|, bmax).|
|00006030| 3c 41 20 49 44 3d 22 70 | 6c 67 66 61 6d 22 3e 3c |<A ID="p|lgfam"><|
|00006040| 2f 41 3e 70 6c 67 66 61 | 6d 0a 0a 3c 50 3e 0a 47 |/A>plgfa|m..<P>.G|
|00006050| 65 74 73 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ets info|rmation |
|00006060| 61 62 6f 75 74 20 63 75 | 72 72 65 6e 74 20 66 61 |about cu|rrent fa|
|00006070| 6d 69 6c 79 20 66 69 6c | 65 2c 20 69 66 20 66 61 |mily fil|e, if fa|
|00006080| 6d 69 6c 79 69 6e 67 20 | 69 73 0a 65 6e 61 62 6c |milying |is.enabl|
|00006090| 65 64 2e 20 20 53 65 65 | 20 53 65 63 74 69 6f 6e |ed. See| Section|
|000060a0| 20 3c 41 20 48 52 45 46 | 3d 22 23 73 65 63 3a 66 | <A HREF|="#sec:f|
|000060b0| 61 6d 69 6c 79 22 20 54 | 41 52 47 45 54 3d 22 5f |amily" T|ARGET="_|
|000060c0| 74 6f 70 22 3e 3c 49 4d | 47 20 20 41 4c 54 3d 22 |top"><IM|G ALT="|
|000060d0| 5b 2a 5d 22 20 53 52 43 | 3d 22 63 72 6f 73 73 72 |[*]" SRC|="crossr|
|000060e0| 65 66 2e 70 6e 67 22 3e | 3c 2f 41 3e 20 66 6f 72 |ef.png">|</A> for|
|000060f0| 20 6d 6f 72 65 20 69 6e | 66 6f 72 6d 61 74 69 6f | more in|formatio|
|00006100| 6e 2e 0a 0a 3c 50 3e 0a | 66 61 6d 20 28 50 4c 49 |n...<P>.|fam (PLI|
|00006110| 4e 54 20 2a 2c 20 6f 75 | 74 70 75 74 29 50 6f 69 |NT *, ou|tput)Poi|
|00006120| 6e 74 65 72 20 74 6f 20 | 76 61 72 69 61 62 6c 65 |nter to |variable|
|00006130| 20 77 69 74 68 20 74 68 | 65 20 62 6f 6f 6c 65 61 | with th|e boolea|
|00006140| 6e 0a 66 61 6d 69 6c 79 | 20 66 6c 61 67 20 76 61 |n.family| flag va|
|00006150| 6c 75 65 2e 20 20 20 49 | 66 20 6e 6f 6e 7a 65 72 |lue. I|f nonzer|
|00006160| 6f 2c 20 66 61 6d 69 6c | 79 69 6e 67 20 69 73 20 |o, famil|ying is |
|00006170| 65 6e 61 62 6c 65 64 2e | 0a 0a 3c 50 3e 0a 6e 75 |enabled.|..<P>.nu|
|00006180| 6d 20 28 50 4c 49 4e 54 | 20 2a 2c 20 6f 75 74 70 |m (PLINT| *, outp|
|00006190| 75 74 29 50 6f 69 6e 74 | 65 72 20 74 6f 20 76 61 |ut)Point|er to va|
|000061a0| 72 69 61 62 6c 65 20 77 | 69 74 68 20 74 68 65 20 |riable w|ith the |
|000061b0| 63 75 72 72 65 6e 74 20 | 0a 66 61 6d 69 6c 79 20 |current |.family |
|000061c0| 66 69 6c 65 20 6e 75 6d | 62 65 72 2e 0a 0a 3c 50 |file num|ber...<P|
|000061d0| 3e 0a 62 6d 61 78 20 28 | 50 4c 49 4e 54 20 2a 2c |>.bmax (|PLINT *,|
|000061e0| 20 6f 75 74 70 75 74 29 | 50 6f 69 6e 74 65 72 20 | output)|Pointer |
|000061f0| 74 6f 20 76 61 72 69 61 | 62 6c 65 20 77 69 74 68 |to varia|ble with|
|00006200| 20 74 68 65 20 6d 61 78 | 69 6d 75 6d 0a 66 69 6c | the max|imum.fil|
|00006210| 65 20 73 69 7a 65 20 28 | 69 6e 20 62 79 74 65 73 |e size (|in bytes|
|00006220| 29 20 66 6f 72 20 61 20 | 66 61 6d 69 6c 79 20 66 |) for a |family f|
|00006230| 69 6c 65 2e 0a 0a 3c 50 | 3e 0a 26 23 31 38 34 3b |ile...<P|>.&#184;|
|00006240| 0a 3c 50 3e 0a 70 6c 67 | 66 69 6c 65 2c 20 70 6c |.<P>.plg|file, pl|
|00006250| 67 66 6e 61 6d 2c 20 70 | 6c 67 66 61 6d 2c 20 41 |gfnam, p|lgfam, A|
|00006260| 50 49 0a 0a 3c 50 3e 0a | 70 6c 67 66 69 6c 65 28 |PI..<P>.|plgfile(|
|00006270| 66 69 6c 65 29 0a 3c 41 | 20 49 44 3d 22 70 6c 67 |file).<A| ID="plg|
|00006280| 66 69 6c 65 22 3e 3c 2f | 41 3e 70 6c 67 66 69 6c |file"></|A>plgfil|
|00006290| 65 0a 0a 3c 50 3e 0a 47 | 65 74 73 20 74 68 65 20 |e..<P>.G|ets the |
|000062a0| 63 75 72 72 65 6e 74 20 | 6f 75 74 70 75 74 20 66 |current |output f|
|000062b0| 69 6c 65 20 68 61 6e 64 | 6c 65 2c 20 69 66 20 61 |ile hand|le, if a|
|000062c0| 70 70 6c 69 63 61 62 6c | 65 2e 20 0a 0a 3c 50 3e |pplicabl|e. ..<P>|
|000062d0| 0a 66 69 6c 65 20 28 46 | 49 4c 45 20 2a 2c 20 6f |.file (F|ILE *, o|
|000062e0| 75 74 70 75 74 29 46 69 | 6c 65 20 70 6f 69 6e 74 |utput)Fi|le point|
|000062f0| 65 72 20 74 6f 20 63 75 | 72 72 65 6e 74 20 6f 75 |er to cu|rrent ou|
|00006300| 74 70 75 74 20 66 69 6c | 65 2e 0a 0a 3c 50 3e 0a |tput fil|e...<P>.|
|00006310| 4e 4f 54 45 3a 20 63 61 | 6e 6e 6f 74 20 62 65 20 |NOTE: ca|nnot be |
|00006320| 63 61 6c 6c 65 64 20 66 | 72 6f 6d 20 46 6f 72 74 |called f|rom Fort|
|00006330| 72 61 6e 2e 0a 0a 3c 50 | 3e 0a 26 23 31 38 34 3b |ran...<P|>.&#184;|
|00006340| 0a 3c 50 3e 0a 70 6c 67 | 66 6e 61 6d 2c 20 70 6c |.<P>.plg|fnam, pl|
|00006350| 67 70 61 67 65 2c 20 70 | 6c 67 66 69 6c 65 2c 20 |gpage, p|lgfile, |
|00006360| 41 50 49 0a 0a 3c 50 3e | 0a 70 6c 67 66 6e 61 6d |API..<P>|.plgfnam|
|00006370| 28 66 6e 61 6d 29 0a 3c | 41 20 49 44 3d 22 70 6c |(fnam).<|A ID="pl|
|00006380| 67 66 6e 61 6d 22 3e 3c | 2f 41 3e 70 6c 67 66 6e |gfnam"><|/A>plgfn|
|00006390| 61 6d 0a 0a 3c 50 3e 0a | 47 65 74 73 20 74 68 65 |am..<P>.|Gets the|
|000063a0| 20 63 75 72 72 65 6e 74 | 20 6f 75 74 70 75 74 20 | current| output |
|000063b0| 66 69 6c 65 20 6e 61 6d | 65 2c 20 69 66 20 61 70 |file nam|e, if ap|
|000063c0| 70 6c 69 63 61 62 6c 65 | 2e 20 0a 0a 3c 50 3e 0a |plicable|. ..<P>.|
|000063d0| 66 6e 61 6d 20 28 63 68 | 61 72 20 2a 2c 20 6f 75 |fnam (ch|ar *, ou|
|000063e0| 74 70 75 74 29 50 6f 69 | 6e 74 65 72 20 74 6f 20 |tput)Poi|nter to |
|000063f0| 66 69 6c 65 20 6e 61 6d | 65 20 73 74 72 69 6e 67 |file nam|e string|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.